Bug #50861 changing diagram to landscape make objects print tiny
Submitted: 2 Feb 2010 21:57 Modified: 10 May 2010 13:17
Reporter: Aaron Hagopian Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.15 OS:Linux (Fedora 12 x86_64)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: printing

[2 Feb 2010 21:57] Aaron Hagopian
Description:
This may be a single bug but makes multiple odd things happen.  First when changing File->Page Setup to landscape, the navigator does not change to landscape.  Next when I open Diagram properties and size the size of diagram in pages shows up as 0 by 0 (after changing to landscape). I then fix the diagram to 1x1 and on the navigator my tables are tiny and print tiny as well.

Trying to change back to portrait does not return the tables back to their size.  Is there a way?  If this diagram is saved, cannot seem to recover for printing purposes.

Also if I close the diagram and try to re-open it, the entire right hand slider pane is empy.  No navigator, catalog, properties etc.  Just blank.  Lastly when I close (only after closing the EER and re-opening to the blank panel) it segfaults.

How to repeat:
Create new EER Model
Add Diagram
Place a new table on the diagram
Add a few columns to the table so it has a little size.
File->Page Setup.  Change to landscape and hit apply.
Model->Diagram properties and size (note 0x0 now) change to 1x1.
Table now is tiny in the navigator.  Printing also tiny.
[2 Feb 2010 21:57] Aaron Hagopian
console output including coredump

Attachment: wb-err.txt (text/plain), 55.43 KiB.

[3 Feb 2010 2:00] MySQL Verification Team
Thank you for the bug report.
[4 May 2010 21:44] Johannes Taxacher
fix confirmed in repository
[10 May 2010 13:17] Tony Bedford
An entry has been added to the 5.2.21 changelog:

In the EER Diagram view, changing the page orientation to landscape using File, Page Setup caused multiple problems in MySQL Workbench. The Navigator orientation did not change, the diagram did not print at the correct size, and MySQL Workbench eventually crashed.