Bug 160204 - Opening Tools > SQL, running a long SQL statement, then opening Previous command results in wider-than-screen dialogue box
Summary: Opening Tools > SQL, running a long SQL statement, then opening Previous comm...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.6.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 20:32 UTC by contact
Modified: 2024-03-30 03:14 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description contact 2024-03-14 20:32:40 UTC
Description:
If you run a long SQL command from the Tools, then try to open Previous Commands, the dialogue box for SQL commands expands to accommodate the width of the sql command as a single line. This results in a broken interface. 
You can hit 'Esc' to get out of it, but then you lose your commands.

Steps to Reproduce:
1. Execute a long SQL command using the SQL dialogue box in Tools menu
2. Click on Previous commands
3.

Actual Results:
Wider than screen dialogue box

Expected Results:
The dialogue box should expand like that. There should be some kind of abbreviation going on.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 60(Build:2)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.5-0ubuntu0.23.10.1
Calc: threaded
Comment 1 Robert Großkopf 2024-03-29 07:48:08 UTC
(In reply to contact from comment #0)
> This results in a broken interface. 
> You can hit 'Esc' to get out of it, but then you lose your commands.

What do you mean with "broken interface". The content is shown in one row. I see the content is longer than width of the screen. But I could chose the content and execute the command.

Would be good to provide an example and screenshots. I created only a table and inserted a row with fields, which could save 250 characters. Next code deletes this row and I started first code for inserting without any problem.
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 6; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded