[Uml-devel] [Bug 90506] Classes can be dragged into other classes in list view, freeze

Frank Osterfeld f_osterf at informatik.uni-kl.de
Mon Nov 29 01:54:04 UTC 2004


------- 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=90506        




------- Additional Comments From f_osterf informatik uni-kl de  2004-11-29 10:53 -------
It doesn't freeze anymore here just by dragging (without dropping the item).
Obviously there are fewer freezes now, but they are not completely gone.
What still freezes umbrello every time here is:

- create class_1 and class_2
- move class_1 into class_2 (class_1 is child of class_2 now)
- try to move class_2 into class_1 
- freeze when dropping class_2

As mentioned above, it seems that the drag drop code doesn't handle this case (moving parent into own subtree) properly: moving the corresponding nodes in the data model causes an infinite loop (you got a cycle in the tree then I guess). So dnd code in UMLListView should prevent this.




More information about the umbrello-devel mailing list