Bug 381730 - class diagram: class-box not resizable
Summary: class diagram: class-box not resizable
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.22.2 (KDE Applications 17.04.2)
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-27 15:35 UTC by max
Modified: 2017-06-27 17:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.22.3 (KDE Applications 17.04.3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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