Bug #51935 the sizes of boxes representing the tables in diagrams are saved incorrectly
Submitted: 10 Mar 2010 21:28 Modified: 11 Mar 2010 11:37
Reporter: Stamatis Mitrofanis Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.18 OS:Linux
Assigned to: CPU Architecture:Any

[10 Mar 2010 21:28] Stamatis Mitrofanis
Description:
I simply created a diagram in the diagram editor and there was a table that had too many columns and was taking up too much space on the page. So, I scaled down its box, hiding the extra columns, but next time I opened the MWB file, the boxes were all in their original sizes, with all column names visible. I expected the diagram to remain just as I left it. Apparently, the sizes of the boxes in the diagrams are not saved to disk.

How to repeat:
Create a diagram, add a table, resize it so as to hide a few columns, save the MWB file, close and reopen MySQL Workbence, load the MWB file you created and look at the diagram.

Suggested fix:
I don't know about the MWB format, or how the program reads and writes it, but just as the positions of the boxes on the page are stored, so should the sizes.
[10 Mar 2010 21:29] Stamatis Mitrofanis
...
[11 Mar 2010 6:24] Stamatis Mitrofanis
I resize the boxes to hide 4 or 5 column names, but when I reopen the file, only 1 or 2 names are hidden. So, something is saved, but it is saved or loaded wrong. Even when the box is made bigger than normal, when I reopen the file, 1 or 2 columns are hidden again.
[11 Mar 2010 11:37] Johannes Taxacher
this is a duplicate of Bug #50262