Bug #60692 Schemas panel expands to fill half the window, and can not be shrunk
Submitted: 29 Mar 2011 19:12 Modified: 1 Dec 2011 19:02
Reporter: Stephen Punak Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.33 OS:Linux (rev 7508)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: schemas panel, sizing, sql editor

[29 Mar 2011 19:12] Stephen Punak
Description:
If a schema within the schemas panel is clicked, then a table is clicked (dropped down) within the schema, the panel containing Actions, Schemas, and details  will expand to fill half the window, and can not be dragged to be smaller.

How to repeat:
1. Bring up a sql editor (Query view).
  There are three panels on this window:
    a) Query editor (docked top)
    b) Query results (docked bottom)
    c) Actions/Schemas/details (docked right)

2. In the Schemas panel, click the little triangle next to a schema to drop it down. You will now see Tables, Views and Routines.

3. Click the little triangle next to Tables to drop it down and show a list of tables.

4. Click the little triangle next to any of the tables in the list. This should cause a drop down to show all the columns.

5. Click on the table for which you just dropped the columns down

The entire panel jumps to expand to fill almost half the window

Suggested fix:
Fix code ;)
[24 May 2011 20:47] Alfredo Kojima
Hi can you please upload a screenshot?
[24 May 2011 20:58] Stephen Punak
This is the way the query window initially launches. Notice that the query window is only the left 25% of the available space

Attachment: snapshot1.png (image/png, text), 75.29 KiB.

[24 May 2011 20:59] Stephen Punak
Here I have resized the panels to a reasonable size

Attachment: snapshot2.png (image/png, text), 77.04 KiB.

[24 May 2011 21:00] Stephen Punak
Here I am drilling into a schema on the right side... Everything is OK up to this point

Attachment: snapshot3.png (image/png, text), 68.42 KiB.

[24 May 2011 21:02] Stephen Punak
Here you can see that the "SCHEMAS" panel has expanded to fill the entire right side of the display.

Attachment: snapshot4.png (image/png, text), 86.55 KiB.

[24 May 2011 21:03] Stephen Punak
After this point, the SCHEMAS panel can not be made narrower until a table is no longer selected.

Of note, the size of the panels spontaneous expansion it seems to vary from table to table. I'm not sure why this is.
[24 May 2011 21:13] Alfredo Kojima
This is probably because the text is too wide and is not wrapping.

Thanks for the bug report.
[24 May 2011 21:16] Stephen Punak
No problem. One other thing, the way the panels are sized in the first screenshot also appears to be a bug (perhaps related). Should I report that separately?
[24 May 2011 21:20] Alfredo Kojima
Is it always sized like that when you open the SQL Editor? Even if you fix the sizing and quit/reopen?
If so, please report it.
[24 May 2011 21:24] Stephen Punak
That's correct. It appears like that every time. I will report it.

Thanks
[1 Dec 2011 19:02] Philip Olson
Fixed as of 5.2.36:

+        If a schema within the schema panel was clicked, then a table
+        was also clicked (dropped down) within the schema, then the
+        panel containing Actions, Schemas, and details would expand to
+        fill half of the view window, and the size could not be
+        adjusted.