[umbrello-devel] [umbrello] [Bug 291749] classes copy & paste bug in Tree View

Joris Steyn jorissteyn at gmail.com
Sun Sep 8 10:06:43 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=291749

Joris Steyn <jorissteyn at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jorissteyn at gmail.com

--- Comment #2 from Joris Steyn <jorissteyn at gmail.com> ---
The problem with copy-pasting in the tree view is not limited to the logical
view. Also, different behaviour can be observed depending on the type of item
copied and what item it's pasted on.

Issue 1: Classes and interfaces act as containers in tree view
Copy/paste of a class or interface on itself results in a nested hierarchy:
-> Logical View
->-> new_class
->->-> new_class
This container-like behaviour is only implemented in the tree view, and only
when pasting the items on itself. I'll assume pasted classes and interfaces
should always be siblings, never children (except when pasted on true
containers like folders, packages, etc).

Issue 2: Inconsistent rename behaviour
When pasting an item (for example, an actor in a use case diagram) on itself, a
new item is created with the exact same name. This is different from pasting on
the container (the Use Case View in this example) where the rename dialog is
shown. 

Issue 3: Unable to drag all items onto the diagram
Either original or pasted items can be dragged onto the diagram, but not both.

Attached patch fixes these three issues and a slightly related bug where
categories could not be dragged onto ER models.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list