Bug #36637 Diagram cannot be fully viewed when zoomed out
Submitted: 9 May 2008 20:48 Modified: 21 May 2008 19:52
Reporter: Nathan Fairchild Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.21 OS:Windows (Vista 64bit)
Assigned to: Alfredo Kojima CPU Architecture:Any

[9 May 2008 20:48] Nathan Fairchild
Description:
The EER diagram becomes offset and only a portion of the diagram is viewable when the zoom factor is low enough to see the whole diagram in the window.  The diagram cannot be dragged back into view with the "hand" tool, nor do the scrollbars allow for moving the diagram into view.

I've noticed that this offset, which is the offset of the diagram from the upper left hand corner of the window to the upper left hand corner of the diagram, increases when Workbench is maximized.

On my test 2-page diagram, this offset occurs when the zoom factor is at or below the threshold, in my case, about a 62% zoom factor.

How to repeat:
As a reference, I use MySQL Workbench on a laptop and I have a screen resolution of 1680 x 1050 @ 32bit color.

Starting with a new model, create an EER diagram with 2 pages, and place one or two tables on each page as reference points.

Then, decrease the zoom to about 50%.  This will decrease the size of the diagram in the windows.

Then, move your scroll wheel.  This will cause the diagram to jump down and to the right, hiding some the diagram.

Maximize the Workbench tool, and the offset becomes larger.

Minimize the Workbench and resize its window horizontally, and eventually the diagram window turns black.
[9 May 2008 20:49] Nathan Fairchild
The test diagram used to duplicate my issue

Attachment: demo.mwb (application/octet-stream, text), 5.75 KiB.

[9 May 2008 20:52] Nathan Fairchild
Screenshot of diagram offset

Attachment: MySQL_Workbench_offset_view.jpg (image/jpeg, text), 122.42 KiB.

[9 May 2008 20:53] Nathan Fairchild
Screenshot of diagram blacked out

Attachment: MySQL_Workbench_black_view.jpg (image/jpeg, text), 67.76 KiB.

[10 May 2008 21:23] MySQL Verification Team
Thank you for the bug report.
[21 May 2008 19:52] Johannes Taxacher
this is a duplicate of http://bugs.mysql.com/bug.php?id=36328 (even though this is reported on vista64)