'Scale elements': chained clones offset from the original are displaced unexpectedly

Bug #1653236 reported by su_v
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Undecided
Unassigned
0.92.x
Triaged
Undecided
Unassigned

Bug Description

Chained clones (clone of clone of clone ...) in legacy files which are offset from the original's position (with "translate()") will be displaced when the option to 'Scale elements' to 96dpi is chosen on open.

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

--> the chain of clones linked to the red rectangle are displaced, the chain of clones linked to the green rectangle (at original position) keep the expected position.

Notes:
'Scale elements' of documents with chained clones is affected by this preference setting:
'Preferences > Behavior > Clones > Moving Original'

The issue reproduces as reported with the default setting:
'Moving original: clones and linked offsets'
[ ] Move in parallel
[x] Stay unmoved
[ ] Move according to transform

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

Reproduced with Inkscape 0.92pre5 r15288 on OS X 10.7.5.

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

Chained clones expose the reported issue.

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

Multiple direct clones of the same original do not expose the reported issue.

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

Attached is the problematic test case (minor change: all elements in document root), scaled with (updated) dpiswitcher.py from https://gitlab.com/su-v/dpiswitcher in Inkscape 0.92pre5 r15288 for comparison of the applied transforms (to each object in document root) - the objects are all scaled and positioned as expected.

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

Reproduced with Inkscape 0.92+devel r15374 on Ubuntu 14.04.5 LTS.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Also reproduced on Windows XP (32-bit), lp:inkscape/0.92.x rev. 15302.

Changed in inkscape:
milestone: none → 0.92
status: Confirmed → Triaged
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.92 → 0.91.1
milestone: 0.91.1 → 0.92.1
su_v (suv-lp)
description: updated
su_v (suv-lp)
description: updated
Revision history for this message
su_v (suv-lp) wrote :

Duplicate report bug #1654903 has another reduced test case.
(It is based on an affected file in 'share/examples'.)

Revision history for this message
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)
Changed in inkscape:
milestone: 0.92.1 → 0.93
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.