[Uml-devel] [Bug 103123] New: Changing the order of operation in class diagram doesn't work properly
Pyry Liukas
pyry at liukas.fi
Mon Apr 4 05:48:07 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=103123
Summary: Changing the order of operation in class diagram doesn't
work properly
Product: umbrello
Version: unspecified
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: umbrello-devel.kde.org
ReportedBy: pyry liukas fi
Version: 1.4 - 3.4.0-0pre1 (using KDE KDE 3.4.0)
Installed from: Debian testing/unstable Packages
OS: Linux
When I have a class with different attributes and operations, changing the order of operations in the properties window fails.
In the class properties, at the operations area, the operations are shown in their own window in the order they have been created. If you select an operation by clicking it, and then try to change the current order of the selected operation, everything works fine in the current operations window. The place is changed properly and everything *seems* to be ok.
But if the tree-view is visible, the order of the operation should change also in the tree view. It doesn't. Instead, the blue selection moves a step in the direction of the change BUT the order of the operation doesn't change. If you try to move operations downwards: nothing happens. If you try to move the operation upwards, it moves a wrong operation upwards. The wrong operation is a operation that is upper to the "wanted" operation in the tree view.
Example:
Class A with operations
# - Name
1 - do1()
2 - do2()
3 - do3()
4 - do4()
If you select do1 and press the "move down" button
Properties window:
The do1 operation moves to #2 and do2 operation moves to #1
Tree-view:
The selection in the tree-view moves to do2.
Result in the class diagram:
Nothing happens to the order
If you select do3 and press the "move up" button
Properties window:
The d3 operation moves to #2 and do2 operation moves to #3
Tree-view:
The d3 jumps to #1, all the others move a step downwards.
Result in the class diagram:
d3 jumps to the first place.
As you can well imagine. This creates difficulties when you try to add an operation to a existing diagram and trying to maintain order.
Thanks for the great software. I use it almost every day!
More information about the umbrello-devel
mailing list