Bug 330583

Summary: Request for easier message adding in sequence diagrams
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 2.11.4   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In: 4.12.3
Sentry Crash Report:

Description Ralf Habacker 2014-01-30 15:00:23 UTC
Adding message widgets in current state is partially complicated.

Reproducible: Always

Steps to Reproduce:
1. start umbrello and create a new sequence diagram
2. add some objects 
3. add a message widget from the first object to the second 

Actual Results:  
A dialog opens in which I can select a predefined method or add a custom method. 
Here are two issues: 
1. If the requested method is not found in the class it is not possible to add it through this dialog. I have to
-  cancel this dialog 
- enter the treeview
- add a method 
- restart adding the message
2. To add a custom method I have to explicit change the radio button on the left side to  be able to add a custom method. 


Expected Results:  
In case 1. I expect to have a button in the mentioned dialog to be able to a new method directly, which is then preselected in "Class operation" combo box. 
For case 2. I except to be able to add a custom operation after clicking into the related input field.
Comment 1 Ralf Habacker 2014-01-30 15:33:27 UTC
Git commit 38632cf2a9fb17593f0b41f44b38fc9c2e408cb3 by Ralf Habacker.
Committed on 06/11/2013 at 20:38.
Pushed by habacker into branch 'master'.

Implement 'Request for easier message adding in sequence diagrams'.

- Extend class operation combo box and custom operation input field to allocate available space.
- Automate switch between class method and custom method selection.
- Add 'new operation' button to sequence diagram operation dialog, which makes adding methods easier.
FIXED-IN:2.13.0

M  +65   -47   umbrello/dialogs/selectopdlg.cpp
M  +7    -5    umbrello/dialogs/selectopdlg.h
M  +3    -1    umbrello/widgets/messagewidget.cpp

http://commits.kde.org/umbrello/38632cf2a9fb17593f0b41f44b38fc9c2e408cb3
Comment 2 Ralf Habacker 2014-02-27 09:02:36 UTC
Git commit 349884fb125ac3bc061c91262d48a056cadaf0ed by Ralf Habacker.
Committed on 06/11/2013 at 20:38.
Pushed by habacker into branch 'KDE/4.12'.

Implement 'Request for easier message adding in sequence diagrams'.

- Extend class operation combo box and custom operation input field to allocate available space.
- Automate switch between class method and custom method selection.
- Add 'new operation' button to sequence diagram operation dialog, which makes adding methods easier.
FIXED-IN:4.12.3
(cherry picked from commit 38632cf2a9fb17593f0b41f44b38fc9c2e408cb3)

M  +65   -47   umbrello/dialogs/selectopdlg.cpp
M  +7    -5    umbrello/dialogs/selectopdlg.h
M  +3    -1    umbrello/widgets/messagewidget.cpp

http://commits.kde.org/umbrello/349884fb125ac3bc061c91262d48a056cadaf0ed