Bug 381730

Summary: class diagram: class-box not resizable
Product: [Applications] umbrello Reporter: max <imeelmax>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.22.2 (KDE Applications 17.04.2)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Other   
Latest Commit: Version Fixed In: 2.22.3 (KDE Applications 17.04.3)

Description max 2017-06-27 15:35:14 UTC
In version 2.22.2, Class box's are not resizable in a class diagram.
When the mouse pointer is clicked at the resize corner of the class-box, the focus of that class-box is lost and the main-grid is selected.

If a project is loaded from previous version (2.21.90) and a resized class-box is selected, in some cases an inner box is visible. This inner-box has the minimum size of the contents. if the mouse pointer is clicked outside the inner box but within the class-box, the focus of the class-box is lost. if the mouse pointer is clicked in the right lower corner, the class-box will not resize.

Note: This behavior does not apply to Enum boxes
Comment 1 Ralf Habacker 2017-06-27 17:45:50 UTC
Git commit 469778aea4002ab03bac0e2a8c10d0a644fc19e3 by Ralf Habacker.
Committed on 27/06/2017 at 17:44.
Pushed by habacker into branch 'Applications/17.04'.

Fix 'class diagram: class-box not resizable'.

ClassifierWidget::shape() should use the current widget
size instead of the size of the contained text.

Thanks to imeelmax at yahoo.com for reporting this bug.
FIXED-IN:2.22.3 (KDE Applications 17.04.3)

M  +0    -4    umbrello/umlwidgets/classifierwidget.cpp

https://commits.kde.org/umbrello/469778aea4002ab03bac0e2a8c10d0a644fc19e3