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

Oliver Kellogg okellogg at users.sourceforge.net
Sun Sep 8 17:04:32 UTC 2013


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

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |okellogg at users.sourceforge.
                   |                            |net

--- Comment #3 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to comment #2)
> 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).

Actually, years ago there had been enhancement requests to support nested
classes, and the existing code was implementing that. Back in the old KDE3 days
it did work - but some time later (most likely in the course of migrating to
KDE4) it broke, and nobody has fixed it again.

Thanks for your patch.

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


More information about the umbrello-devel mailing list