Activity log for bug #1240455

Date Who What changed Old value New value Message
2013-10-16 10:26:13 su_v bug added bug
2013-10-16 10:26:43 su_v description Steps to reproduce: 1) launch current trunk (default prefs, default new document (no localized template)) 2) apply 'Extensions > Render > Gear > Gear…' (default settings) 3) open 'File > Document Properties > Page' and change default units from 'px' to 'mm' 4) apply 'Extensions > Render > Gear > Gear…' again with same settings 5) apply it with units changed to 'mm' Expected result: Since the change of the default units by itself is not supposed to change the page size, the expected result is that the gear created in step 4 matches the one created in step 2 Actual result: The gear created after changing the default units is much larger in scale, and not inserted in the center of the current viewport (visible canvas area) which matches the center of the page if following the 'steps to reproduce' exactly. Changing units to 'mm' in the Gear settings only results in a relative change, and does not match closer to the default units of the current document than the one created with default Gear setting ('px'). This is likely to affect many of the script-based extensions (and even internal ones, e.g. 'Extensions > Render > Grid > Grid…'). AFAIU the details on how page size, default units and drawing scale (viewBox) may be combined will vary depending on - which template was used - which version was used to create the file (existing documents) - which changes (and in which order) have applied to document properties before applying the extension Confirmed with r12693 on Ubuntu 12.10 and r12692 on OS X 10.7.5. Based on tests with archived builds: - STR not reproduced with rev <= 12553 - STR reproduced with rev >= 12554 Steps to reproduce: 1) launch current trunk (default prefs, default new document (no localized template)) 2) apply 'Extensions > Render > Gear > Gear…' (default settings) 3) open 'File > Document Properties > Page' and change default units from 'px' to 'mm' 4) apply 'Extensions > Render > Gear > Gear…' again with same settings 5) apply it with units changed to 'mm' Expected result: Since the change of the default units by itself is not supposed to change the page size, the expected result is that the gear created in step 4 matches the one created in step 2 Actual result: The gear created after changing the default units is much larger in scale, and not inserted in the center of the current viewport (visible canvas area) which matches the center of the page if following the 'steps to reproduce' exactly. Changing units to 'mm' in the Gear settings only results in a relative change, and does not match closer to the default units of the current document than the one created with default Gear setting ('px'). This is likely to affect many of the script-based extensions (and even internal ones, e.g. 'Extensions > Render > Grid > Grid…'). AFAIU the details on how page size, default units and drawing scale (viewBox) may be combined will vary depending on - which template was used - which version was used to create the file (existing documents) - which changes (and in which order) have been applied to document properties before applying the extension Confirmed with r12693 on Ubuntu 12.10 and r12692 on OS X 10.7.5. Based on tests with archived builds: - STR not reproduced with rev <= 12553 - STR reproduced with rev >= 12554
2013-10-16 11:59:27 su_v summary trunk: extensions do not compatible with recent unit/viewbox changes (rev >= 12554) trunk: extensions not compatible with recent unit/viewbox changes (rev >= 12554)
2013-10-16 20:52:26 jazzynico inkscape: importance Undecided High
2013-10-16 20:52:26 jazzynico inkscape: status New Triaged
2013-10-28 19:00:37 Johan Engelen inkscape: status Triaged Incomplete
2013-10-28 22:09:41 jazzynico inkscape: status Incomplete Fix Released
2013-10-28 22:09:41 jazzynico inkscape: milestone 0.49
2013-10-29 05:45:10 jazzynico inkscape: status Fix Released Triaged
2013-10-29 05:45:17 jazzynico inkscape: milestone 0.49
2013-10-29 21:25:18 Johan Engelen tags extensions-plugins regression units viewbox easy-fix extensions-plugins regression units viewbox
2013-11-14 08:26:19 Luxo bug added subscriber Luxo
2014-02-04 19:53:19 Alvin Penner attachment added render_gears.py https://bugs.launchpad.net/inkscape/+bug/1240455/+attachment/3969190/+files/render_gears.py
2014-02-06 01:02:27 Launchpad Janitor branch linked lp:inkscape
2014-02-08 07:26:55 su_v inkscape: status Triaged In Progress
2014-02-08 07:26:55 su_v inkscape: assignee Alvin Penner (apenner)
2014-02-10 01:28:49 su_v tags easy-fix extensions-plugins regression units viewbox extensions-plugins regression units viewbox
2014-03-24 22:20:53 Alvin Penner attachment added scaling.txt https://bugs.launchpad.net/inkscape/+bug/1240455/+attachment/4041646/+files/scaling.txt
2014-11-06 06:42:09 su_v inkscape: status In Progress Fix Committed
2015-02-21 02:47:04 Bryce Harrington inkscape: status Fix Committed Fix Released