Bug 70925

Summary: Enabling of cut/copy/paste actions is incorrect
Product: [Applications] umbrello Reporter: Jonathan Riddell <jr>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: CONFIRMED ---    
Severity: normal CC: finex, jatoivol, okellogg, opensource, ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Riddell 2003-12-20 16:40:26 UTC
Version:            (using KDE Devel)

Currently there is a timer checking to see if cut/copy/paste should be enabled.  A signal/slot would be much better.

Once an item is pasted the paste action is no longer anabled so you can not paste twice.
Comment 1 Mathieu Jobin 2004-08-26 18:06:52 UTC
i think this is part of fixing copy/paste

see bug #70924
Comment 2 Oliver Kellogg 2007-02-17 14:24:55 UTC
> Once an item is pasted the paste action is no longer enabled
> so you can not paste twice.

Actually, the way copy/paste of classifier list items in the list view
is implemented now, you can paste any number of times because the
paste acts as a Duplicate if a same named item exists.
(I.e. the item name is varied.)
Comment 3 FiNeX 2009-08-08 21:21:12 UTC
@Umbrello developers: Has the copy/paste code been rewritten or is this report still valid?
Comment 4 Mr. Janne Toivola 2010-06-18 13:35:00 UTC
At least Umbrello 2.3.2 still seems to have a bug/misfeature related to copying and pasting. Try the following:
- create or select a component view
- select box tool and draw a box
- resize the box by dragging from the bottom right corner
- copy the box
- paste the box

After this, a user would expect to see two boxes with the exact same size, but it seems copying and pasting "resets" the size. It seems to be impossible to paste several copies of the box.

Additionally, a user would expect some help from the program in aligning the boxes (as in Apple Keynote or Pages, for example).
Comment 5 Ralf Habacker 2012-01-16 18:04:31 UTC
SVN commit 1273986 by habacker:

Fixed bug 'reseting' box widget size on copy/paste as mentioned in comment

The basic implementation of UMLWidget::calculateSize() should return
always recent size.


 M  +1 -1      umlwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1273986
Comment 6 Ralf Habacker 2012-01-16 18:12:26 UTC
(In reply to comment #4)
> Additionally, a user would expect some help from the program in aligning the
> boxes (as in Apple Keynote or Pages, for example).

As I and probably oth do not know how the refered applications - Can you file a feature request with a detailed description about how the feature should be designed ?
Comment 7 Justin Zobel 2021-03-09 07:00:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 8 Oliver Kellogg 2022-02-15 13:44:50 UTC
(In reply to Justin Zobel from comment #7)
> [...]
> If this bug is no longer persisting or relevant please change the status to
> resolved.

The original issue the that the paste action is disabled after one paste remains.