Bug 403516 - Size of classes and components are stable rise after saving/loading file
Summary: Size of classes and components are stable rise after saving/loading file
Status: REPORTED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.27.1 (KDE Applications 18.12.1)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-22 20:42 UTC by sggdev.im
Modified: 2019-01-24 15:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sggdev.im 2019-01-22 20:42:28 UTC
SUMMARY
Size of classes and components are stable rise after saving/loading file even auto resizing option is off. Seems the list of methods for class is wrong (bigger than real) at loading, but then (after redrawing) rebuilding correctly. The problem is appearing just in Linux version.

STEPS TO REPRODUCE
1. Create diagram (class or component)
2. Add class/component, add name. Set off for auto-resize option.
3. Save file
4. Close Umbrello
5. Open Umbrello
6. Open file

OBSERVED RESULT
Size of classes and components are rise proportionally to number of lines in widget.

EXPECTED RESULT
Size of classes and components are the same as at moment of saving.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSuse Tumbleweed
Qt Version: 5.12

ADDITIONAL INFORMATION
Comment 1 Ralf Habacker 2019-01-24 15:23:13 UTC
Thanks for the report. 

This problem is caused by an incomplete implementation of ClassifierWidget::minimumSize(). This function currently only supports the "auto resize" mode and would need to be implemented for the other case as well e.g.