Bug 404422

Summary: Non-optimal vertical position of added messages to sequence diagrams
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.27.2 (KDE Applications 18.12.2)   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 2.27.3 (KDE Applications 18.12.3)

Description Ralf Habacker 2019-02-15 23:12:49 UTC
The vertical position of messages added to objects in a sequence diagram is based on the position of the mouse pointer when selecting the second object. This often leads to the fact that the generated messages have to be moved afterwards, since one usually wants to have the new message at the vertical position of the first selected object.

STEPS TO REPRODUCE
1. start umbrello
2. add sequence diagram
3. add two objects
4. add a message between both objects
5. move the message down
6. start adding a new message below the first message
7. click on the vertical line of second object to add the message

OBSERVED RESULT
The added message is located above the first message

EXPECTED RESULT
The added message should be located on the vertical position where the first object has been selected.


SOFTWARE/OS VERSIONS
Windows: 7
Comment 1 Ralf Habacker 2019-02-18 09:50:24 UTC
Git commit 06425ca08ce44422ab2e16d957519e73db059777 by Ralf Habacker.
Committed on 18/02/2019 at 09:50.
Pushed by habacker into branch 'Applications/18.12'.

Fix 'Non-optimal vertical position of added messages to sequence diagrams'
FIXED-IN: 2.27.3 (KDE Applications 18.12.3)

M  +1    -4    umbrello/toolbarstatemessages.cpp
M  +2    -1    umbrello/umlwidgets/messagewidget.cpp

https://commits.kde.org/umbrello/06425ca08ce44422ab2e16d957519e73db059777