Bug #47362 manually resized objects loose their widths/heights when saved/reopened
Submitted: 16 Sep 2009 10:22 Modified: 16 Sep 2009 10:35
Reporter: Stas Trefilov Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.1.18 OS:MacOS (10.6.1)
Assigned to: CPU Architecture:Any

[16 Sep 2009 10:22] Stas Trefilov
Description:
in my schema i have some tables that take very much horizontal space. just to fit these on a single page i need to manually contract them. this way i can only see a beginning of a field description, but the table fits well on a diagram. example: a table with ENUM field having about 40 possible values. to fit on a4 page in portrait mode it must be manually resized to actually show ~ 10 values.

when i open my wb schema now in 5.1.18 my previously resized tables now take full width and break all margins. if i resize tables and save/reopen the diagram, the tables are again automatically resized to fit all columns.

this is introduced in 5.1.18

How to repeat:
1/ create new schema. add table. manually resize it to be of square form. note in preferences tab that Manual Sizing is checked, Height is 400, Widths is 400 (you may have other values)

2/ save model

3/ quit wb

4/ relaunch wb. the saved model will be reopened. you will notice that now your manually resized table has its Widths/Height reset and occupies all the place needed for display of columns content (as if it was an automatic layout, not manual). Manual Sizing is still checked though.

Suggested fix:
wait for the fix or restore tables sizes each time you open the diagram.
[16 Sep 2009 10:27] Valeriy Kravchuk
This is a duplicate of Bug #46806, it seems.
[16 Sep 2009 10:35] Stas Trefilov
Valeriy, this is not a duplicate!!! please review the description.