Bug 358287 - Resize of sequence diagram messages is broken in horizontal orientation
Summary: Resize of sequence diagram messages is broken in horizontal orientation
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.18.0 (KDE Applications 15.12.0)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 23:12 UTC by Ralf Habacker
Modified: 2016-05-23 20:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.18.2 (KDE Applications 15.12.2)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2016-01-20 23:12:52 UTC
Resizing a message widget with the context menu entry "resize" fails in the horizontal direction.


Reproducible: Always

Steps to Reproduce:
1. start umbrello
2. add a sequence diagram, two objects and connect them with a synchronous message
3. resize message with context menu entry "resize"

Actual Results:  
The message is not more visual connected to the right object.

Expected Results:  
The message should not loose the connection to the right object.
Comment 1 Ralf Habacker 2016-01-20 23:20:28 UTC
Git commit 401f94108f213cdd3859b9e0780527843ce1aa8e by Ralf Habacker.
Committed on 20/01/2016 at 23:18.
Pushed by habacker into branch 'Applications/15.12'.

Fix 'Resize of sequence diagram messages is broken in horizontal orientation'.

class UMLWidget provides function minimumSize() to get
minimum widget size, which has not been overriden in
class MessageWidget.
FIXED-IN:2.18.2 (KDE Applications 15.12.2)

M  +20   -0    umbrello/umlwidgets/messagewidget.cpp
M  +2    -0    umbrello/umlwidgets/messagewidget.h

http://commits.kde.org/umbrello/401f94108f213cdd3859b9e0780527843ce1aa8e
Comment 2 Ralf Habacker 2016-05-23 20:02:08 UTC
Git commit df74515438eba2dde71c1f415e5fd21068672ab0 by Ralf Habacker.
Committed on 23/05/2016 at 20:01.
Pushed by habacker into branch 'master'.

Fixup of duplicate minumum size definitions in class MessageWidget.

Minimum size definitions are available through method miniumSize().
There is no need to hold duplicate values.

M  +21   -12   umbrello/umlwidgets/messagewidget.cpp

http://commits.kde.org/umbrello/df74515438eba2dde71c1f415e5fd21068672ab0