'Scale elements': clones of originals with preserved transforms are offset incorrectly

Bug #1654903 reported by su_v on 2017-01-09
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Unassigned
0.92.x
Medium
Unassigned

Bug Description

Clones linking to objects with a preserved transform attribute in legacy files will be displaced (offset) incorrectly when the option to 'Scale elements' to 96dpi is chosen on open.

Steps to reproduce:
1) launch inkscape (default prefs)
2) open attached SVG file
3) choose 'Scale elements' when prompted

Expected result:
The position of each clone is identical to the unlinked duplicate of the clone on the layer stacked below.

Actual result:
The clone that links to an original object which has a preserved transform attribute is offset unexpectedly, and does not match the position of the unlinked duplicate below.

Notes:
'Scale elements' of documents with clones linking to originals with a preserved transform attribute is affected by the preference setting:
'Behavior > Clones > Moving Original: clones and linked offsets'

The issue reproduces as reported with the default setting:
[x] Stay unmoved
as well as with the custom setting:
[x] Move in parallel

The reported issue does not reproduce after switching the setting to:
[x] Move according to transform

Reproduced with Inkscape 0.92 r15299 and lp:inkscape/0.92.x r15309 on OS X 10.7.5.

=====
The attached test case is based on the original 'share/examples/eastern-motive-P4G.svg'. The one currently in the repository was saved after rescaling the elements and exposes the issue reported here.

su_v (suv-lp) wrote :
su_v (suv-lp) wrote :

In hindsight this is likely a duplicate of bug #1653236 (same underlying issue: the chained clones offset from the original described there also link to an original (another clone) with a preserved transform attribute).

Linking as duplicate to bug #1653236.

su_v (suv-lp) wrote :

Reverting duplicate status for now.

su_v (suv-lp) wrote :

Not reproduced with Inkscape 0.92+devel r15407 (default prefs) on Ubuntu 14.04 with 'Scale test - all'.

jazzynico (jazzynico) wrote :

Reproduced on Xubuntu 16.04, lp:inkscape/0.92.x rev. 15315.

Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.92.1
status: New → Triaged
jazzynico (jazzynico) on 2017-02-16
Changed in inkscape:
milestone: 0.92.1 → 0.93
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers