Copy&paste of group (3dbox + object) changes the relative positions of group members

Bug #826056 reported by Andrzej
50
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

I have a group of objects, one of them is a 3D box. When I copy and paste the group, the 3D object is shifted away in relation to other objects in the copied group.

Attached is a sample drawing exposing this behavior before (left) and after (right) copy&paste.

Inkscape 0.48+devel r10505, on Ubuntu 11.04.

Revision history for this message
Andrzej (ndrwrdck) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows XP, Inkscape rev 10509

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp)
tags: added: 3dbox transformations
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
su_v (suv-lp) wrote :

Does not happen when only 3dboxes are grouped together: the trigger seems to be an additional object (path, shape, text, etc) inside the group.

tags: added: clipboard groups
removed: transformations
Revision history for this message
su_v (suv-lp) wrote :

Also mentioned in Bug #586625 “copy modifies grouped 3D boxes”:
<https://bugs.launchpad.net/inkscape/+bug/586625>

See comment #5 there, issue A-2 and B-2 (selecting all objects with mouse puts 43dboxes and a path inside one group).

summary: - Copy&paste of grouped 3D objects changes their positions
+ Copy&paste of group (3dbox + object) changes the relative positions of
+ group members
Revision history for this message
Michael Owens (michael-owens) wrote :

I have just a series of 2d object. After second copy and paste, object starts coming apart on each subsequent paste. Running trunk on Ubuntu 12.10. See attachment. Take object (grouped together) and paste twice. Second paste and all subsequent will paste the object in two separate pieces.

Inkscape Versions: 1:0.48+devel+12130+34~precise1 and 1:0.48+devel+12130+34~precise1,

Revision history for this message
su_v (suv-lp) wrote :

@Michael Owens - your file does not contain a 3dbox - this report however, bug #826056, is specifically about 3dbox objects.

Your example 'test.svg' contains two unconnected connector lines inside the group which do relocate (aka re-route) unexpectedly when copy&pasting the group: pasting a new copy triggers a rerouting of the connectors inside the prior pasted (i.e. transformed) group, to a fixed position - likely because the connectors have loose ends, and there is no information how to reroute (aka layout) them correctly.

Based on the drawing content, there seems to be no compelling reason to use connector lines instead of regular paths for that specific design (connector lines cannot connect to nodes, but only to midpoint of objects), so my recommendation to avoid this specific issue with unconnected connector lines inside transformed groups is to delete the those two in the original group and redraw them with regular path tools (pen, or pencil tool), with node snapping (nodes and handles, cusp nodes) active.

If you can't find an existing related bug report about (unconnected) connectors (inside transformed groups), consider filing your issue separately (it's not related to this bug, and requires a different solution).

Revision history for this message
Michael Owens (michael-owens) wrote :

@~suv Thank you. I didn't realize that the connector lines were that different than regular lines. Per your suggestion, I used regular lines and it worked perfectly.

Revision history for this message
Pavel Petrovic (pavel-petrovic) wrote :

Confirming this bug (Inkscape 0.48.4 r9939 Win7) and that the workaround in comment #4 in duplicate bug #1447494 worked great. Attaching my drawing where copy-paste leads to a broken drawing.
Does not seem like a medium problem - wasted an hour on this, and without that workaround, I would have wasted more.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.