page size changes unexpectedly when running extension Render->Layout->Nup layout, if using mm as document unit.

Bug #1453982 reported by Alvin Penner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Alvin Penner

Bug Description

- running Windows XP, Inkscape rev 14146, with mm as the default document unit
- load the Document Properties dialog and run Nup layout extension.
- in the Nup layout Page Dimensions tab, set units to mm and set size to 210x297 mm
- apply extension and check the Document Properties to note that the new page size is given as 210*297 px, not mm
- restart Inkscape with same document and rerun the Nup layout.
- choose a Nup layout page size of 816*1056px in order to produce a standard letter size page.
- check the Document Properties dialog to see that the new page size is actually 215.9*279.4 px, which is too small

- not reproduced if the startup document is default_px.svg which uses px as the document unit.

=====
Follow-up-report to:
Bug #1277649 “Extensions->Render->Layout->N-up layout fails”

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

On 2015-05-11 23:58 (+0200), Alvin Penner wrote:> - running Windows XP, Inkscape rev 14146, with mm as the default document unit
> - load the Document Properties dialog and run Nup layout extension.
> - in the Nup layout Page Dimensions tab, set units to mm and set size to 210x297 mm
> - apply extension and check the Document Properties to note that the new page size is given as 210*297 px, not mm

Reproduced with Inkscape 0.91+devel r14146 on OS X 10.7.5.

> - restart Inkscape with same document and rerun the Nup layout.
> - choose a Nup layout page size of 816*1056px in order to produce a standard letter size page.
> - check the Document Properties dialog to see that the new page size is actually 215.9*279.4 px, which is too small

This part did not reproduce though.

tags: added: extensions-plugins
Revision history for this message
Alvin Penner (apenner) wrote :

attached is a proposed modification of the file layout_nup.py which deals with this scaling issue

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

... changes from comment #2 as diff against trunk r14147.

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

fix committed to rev 14153

Changed in inkscape:
status: New → Fix Committed
assignee: nobody → Alvin Penner (apenner)
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.92
su_v (suv-lp)
tags: added: backport-proposed
description: updated
Revision history for this message
su_v (suv-lp) wrote :

Fix backported to 0.91.x in rev 13795.

Changed in inkscape:
milestone: 0.92 → 0.91.1
tags: removed: backport-proposed
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.91.1 → 0.92
status: Fix Committed → Fix Released
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.