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

Bug #1653236 reported by su_v on 2016-12-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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.

'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
[x] Move according to transform

Reproduced with Inkscape 0.92pre5 r15288 on OS X 10.7.5.

su_v (suv-lp) wrote :

Chained clones expose the reported issue.

su_v (suv-lp) wrote :

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

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.

su_v (suv-lp) wrote :

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

Changed in inkscape:
status: New → Confirmed
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) on 2017-01-04
Changed in inkscape:
milestone: 0.92 → 0.91.1
milestone: 0.91.1 → 0.92.1
su_v (suv-lp) on 2017-01-08
description: updated
su_v (suv-lp) on 2017-01-08
description: updated
su_v (suv-lp) wrote :

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

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) 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