View Issue Details

IDProjectCategoryView StatusLast Update
0012217ScribusUndo/Redopublic2014-04-21 14:52
ReporterFirasH Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSopenSUSEOS Version13.1
Product Version1.4.4.svn 
Fixed in Version1.4.4.svn 
Summary0012217: Duplicating items requires to undo (n° of items+1) to undo the change
DescriptionUndo requires to undo (n° of items+1) to undo the duplication of more items selected.
Steps To Reproduce0) Create a new document
1) Insert 2 Text/Image Frames or Polygons/Shapes
2) Select the Frames
3) Duplicate (Ctrl+D)
4) Undo (Ctrl+Z)
To undo step 3 you have to undo times (Replaces the initial position and then removed the duplicated items).

Increasing the number of Frames/Items added in step 1,
increases also the times you have to undo:
(n° of items + 1)
Additional InformationScribus 1.4.4 SVN (19041)
TagsNo tags attached.
Patch

Activities

FirasH

2014-04-17 19:44

developer   ~0031693

Even duplicating 1 single element requires to undo 2 times.
From "Action History" I can understand that first the elements are pasted (one action for more items) and then moved (one action for each item).

FirasH

2014-04-19 11:06

developer   ~0031704

Last edited: 2014-04-19 11:08

I looked a bit in undomanager.cpp in Scribus 1.4.x and undo does not have this function (for Duplicated items).
As a consequence I suppose it will be impossible to fix (at least until 1.4.4 release is out) because it would need translation updates and probably because it will bring out new issues?

jghali

2014-04-19 23:33

administrator   ~0031717

The issue is rather easy to fix, but it would indeed need a string update and consequently break string freeze. We may be able to fix it if we find a description string already existing undomanager and whose meaning is lose enough to "duplicate"... Maybe "Copy"???

FirasH

2014-04-20 00:32

developer   ~0031718

I'm sure that Copy is the most suitable meaning as for now, at least this would fix the undo issue. After 1.4.4 release it would be nice to fix translation related stuff (even for typo, etc.)

jghali

2014-04-20 18:50

administrator   ~0031727

Issue fixed by using "Copy" string as description.

Issue History

Date Modified Username Field Change
2014-04-17 17:04 FirasH New Issue
2014-04-17 19:44 FirasH Note Added: 0031693
2014-04-19 11:06 FirasH Note Added: 0031704
2014-04-19 11:08 FirasH Note Edited: 0031704
2014-04-19 23:33 jghali Note Added: 0031717
2014-04-20 00:32 FirasH Note Added: 0031718
2014-04-20 18:50 jghali Note Added: 0031727
2014-04-20 18:50 jghali Status new => resolved
2014-04-20 18:50 jghali Fixed in Version => 1.4.4.svn
2014-04-20 18:50 jghali Resolution open => fixed
2014-04-20 18:50 jghali Assigned To => jghali
2014-04-20 18:50 jghali Severity major => minor
2014-04-21 14:52 cbradney Status resolved => closed