Version: 1.3.0 (using KDE 3.2.3, compiled sources) Compiler: gcc version 3.3.3 OS: Linux (i686) release 2.4.26 bug report by "Dirk Estievenart" <dirk@netxistenz.com>: In the treeview under "use case view", I made several use cases. I had so much of them that I decided to group them in folders (under the same "use case view" node). I created some folders, which went fine. I tried to move the use cases to the folders by drag-'n-drop, which did nothing at all. Then I tried cut-'n-copy, which works but gives an error message : "At least one of the items in the clipboard could not be pasted because an item of the same name already exists. Any other items have been pasted." It gives this error, even when the folder is empty. Good thing is that you can safely ignore it, because the use case is pasted in the correct folder. The only thing is that the text of the use case remains at the bottom of the treeview (as if it was an orphined root item). If you try to delete that one, Umbrello crashes.
I think the submitter means use-case diagrams. I can confirm this bug.
I have the fix for this - okay to commit?
Forget about my previous comment - both drag'n'drop and cut'n'paste work fine in cvs HEAD. Note that for drag'n'drop, you probably need to release the mouse button near the botom of the target folder (this is a longstanding bug that noone has cared to fix :)
Drag&Drop seems to work, but Cut/Paste not. Do the following: 1. Create a new use-case diagram in the listview 2. Create a new use-case in the listview 3. Drag the use-case onto the use-case diagram 4. Create a new folder under the use-case view 5. Right click on the use-case diagram in the listview and select "Cut" 6. Right click on the folder and select "Paste" -> the diagram will be now under the folder, but the use-case will be there 2 times and a new use-case without name is created as well
Sebastian has correctly understood the bug. After step 6, do: 7. Try to delete the diagram under the folder (it will make Umbrello crash)
well, i dont think any copy paste work right now duplicate bug #70924
CVS commit by okellogg: Fix cut/paste in list view. BUG:86828 M +1 -1 ChangeLog 1.43 M +2 -0 umbrello/umllistviewitem.cpp 1.63 M +45 -15 umbrello/clipboard/umldrag.cpp 1.28