Bug #60762 Minimum width of workbench window is too wide
Submitted: 5 Apr 2011 14:21 Modified: 27 Jul 2012 8:43
Reporter: Henry Gernhardt Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S4 (Feature request)
Version:5.2.33 OS:Linux (Ubuntu 10.10)
Assigned to: CPU Architecture:Any

[5 Apr 2011 14:21] Henry Gernhardt
Description:
The minimum width of the workbench window is excessively wide in the edge use case of a portrait oriented monitor.  My second monitor is a 1280x1024 monitor rotated 90 degrees such that I have a portrait, 1024x1280, orientation.  The workbench window, when maximized, appears to be about 1283 pixels in width (my window decorations have no borders).  When not maximized, I cannot reduce the workbench window to less than this width.

On my desktop, this results in the maximized window shifting back and forth about three pixels each time the mouse is clicked over the window.  This behavior actually causes difficulty in closing tabs.

I understand that the information on the home page is such that a minimum width is necessary.  I have no problem with a default width such that the entire home page is visible.  It should be allowable, however, to have the window be of a lesser width.

How to repeat:
* Open Workbench.
* Try to reduce the width of the window beyond minimum.  Observe that this is disallowed.
* Maximize the window on a monitor having a width of 1280 pixels or less.
* Click anywhere in the window.  You may or may not notice the window shifting back and forth.

Suggested fix:
Allow for the user to reduce the width of the window below the minimum, or reset the home page such that the minimum width is more amenable to narrower screens.  Note that we have a common edge case of portrait orientation resulting in an available width of 768 pixels due to the proliferation of “720P HD” monitors in the marketplace.
[24 May 2011 22:29] Alfredo Kojima
Can you provide a screenshot where WB cannot be resized smaller than that? For me, the window resizes to 1024x768 with no problems.
[25 May 2011 13:53] Henry Gernhardt
What the window looks like maximized (1 of 2)

Attachment: maximized_1.jpg (image/jpeg, text), 375.43 KiB.

[25 May 2011 13:53] Henry Gernhardt
What the window looks like maximized (2 of 2)

Attachment: maximized_2.jpg (image/jpeg, text), 375.25 KiB.

[25 May 2011 13:54] Henry Gernhardt
Window failing to resize smaller than 1024x768, not including window decorations

Attachment: resize_fail.jpg (image/jpeg, text), 382.03 KiB.

[25 May 2011 13:57] Henry Gernhardt
Alfredo—

Please see the three images I have uploaded.  In the first two, you will see how, when maximized, the window shows a difference of position of two or three pixels.  As you can see in the first image, the maximized window extends onto the left-hand screen (the black bars on top and bottom of the left screen are due to the resolution mismatch between the two).  The second image shows how, when clicked, the window shifts to the right slightly.

The third image demonstrates what occurs when I attempt to resize the window below its minimum size.  Not shown is the resize cursor sitting towards the middle of the window.
[6 Jun 2011 23:33] MySQL Verification Team
Could you please provide the output of Help->System Info. Thanks.
[7 Jun 2011 0:25] Henry Gernhardt
MySQL Workbench CE for Linux/Unix version 5.2.34
Configuration Directory: /home/hgernhardt/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.10.0
Rendering Mode: OpenGL is not available on this system, so Native is used for rendering.
OS: Linux 2.6.35-28-generic
CPU: 2x AMD Turion(tm) X2 Dual-Core Mobile RM-70 500.000 MHz, 2.7 GB RAM
[7 Jun 2011 16:00] Armando Lopez Valencia
Thanks a lot for your report Henry.
We will log it as a "Feature request".
[27 Jul 2012 8:43] Philip Olson
Fixed as of Workbench 5.2.41, and here's the changelog entry:

The MySQL Workbench window can now be resized to 1024x710.