Paste selection with original+clone(s): Wrong placement between original and clones

Bug #1152657 reported by pRototype on 2013-03-08
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Mc

Bug Description

Affected Inkscape versions on WIndows 7 and Windows XP:
Inkscape 0.48.4 r9939
Inkscape 0.48+devel r12162

Have two elipses centered to each other. Grouping those two and make five clones.
Copy and pasting both the original and the clones at same time will most likely result in wrong placement of the clones in respect to the pasted original object.
Youtube video explain better than I do with my poor english:
http://youtu.be/2LBLE-qCWgc

I upload the affected svg file. It has being worked on many times, redone and saved as new file many times since the first version. Therefore I think I cannot recreate this behaviour by creating a brand new file.

pRototype (regeir) wrote :
su_v (suv-lp) on 2013-03-08
tags: added: clones groups transformations
su_v (suv-lp) wrote :

The pasted clones are displaced due to the transform attribute of the parent layer group:
<https://bugs.launchpad.net/inkscape/+bug/479638/comments/7>

Workaround:
1) select the 6 objects, group them
2) add a new layer above the current one ('innhald')
3) move the group created in step 1 to the new layer ('Shift+PageUp')
4) on the new layer, ungroup the group
5) select all 6 objects, copy & paste

-> no more unexpected displaced pasted clones.

su_v (suv-lp) wrote :

Related:
Bug #802053 “Operation on multiple cloned object gives odd results”
and lots of earlier reports about displaced objects, all triggered by clones not handling transforms on parent groups well (it's a known issue which can show up in various ways).

su_v (suv-lp) on 2015-02-19
tags: added: clipboard
su_v (suv-lp) wrote :

Reproduced with 0.91 r13725 and 0.91+devel r13925 on OS X 10.7.5.

[ Note to bug team: not addressed by recent commit r13924, in trunk with default template (mm) additionally affected by incorrect scaling of the pasted clone -> foe new tests in trunk, use 'default px' as template. ]

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
su_v (suv-lp) on 2015-02-19
summary: - Paste group with clones, Wrong placement between original and clones
+ Paste selection with original+clone(s): Wrong placement between original
+ and clones
Mc (mc...) wrote :

patch attached

Mc (mc...) wrote :

updated

Changed in inkscape:
assignee: nobody → Mc (mc...)
status: Confirmed → Fix Committed
su_v (suv-lp) on 2015-02-21
Changed in inkscape:
milestone: none → 0.92
status: Fix Committed → In Progress
Mc (mc...) on 2015-02-21
Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp) wrote :

Committed to trunk in revision 13932.

Mc (mc...) wrote :

The attached patch should be ok with the 0.91.1 current state

tags: added: backport-proposed
ScislaC (scislac) wrote :

Patch from comment #8 committed in 0.91.x r13767

Changed in inkscape:
milestone: 0.92 → 0.91.1
tags: removed: backport-proposed
jazzynico (jazzynico) on 2017-01-28
Changed in inkscape:
milestone: 0.91.1 → 0.92
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers