Printing marks needs more precision

Bug #1158377 reported by Full Decent on 2013-03-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

In Extensions -> Render -> Printing marks this is great. But in the US, it is common to see requirements of 1/4" or 1/8" bleed. If you type in a number like 0.25 or 0.125 here, it will truncate to 0.3 and 0.1. Was hoping to use the full precision here.

Alvin Penner (apenner) wrote :

confirmed on Windows XP, recent development build.
If I specify the units in inches, then the spin box truncates the value. However, it appears that the rendering is probably being done correctly. If I specify 0.125 inches for offset, then the XML editor shows entries like 11.25 px, which is correct, namely 90/8 as expected. Also the preferences file shows the entry
org.inkscape.printing.marks.crop_offset = "0.125".
It appears that only the spin box display is wrong.

A temporary workaround might be to specify these values in pixels instead of inches, where 1 inch = 90 pixels.

Changed in inkscape:
status: New → Confirmed
Alvin Penner (apenner) wrote :

<offtopic>my personal preference would be to eliminate the spin box entirely, and just use a text box instead</offtopic>

su_v (suv-lp) on 2013-03-21
tags: added: extensions-plugins
jazzynico (jazzynico) wrote :

The following patch fixes the UI issue (spin boxes' precision increased to 3 decimals).

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
importance: Undecided → Low
milestone: none → 0.49
status: Confirmed → In Progress

Great, thank you!

jazzynico (jazzynico) wrote :

Fix committed in the trunk, revision 12230.

Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp) on 2013-09-22
tags: added: backport-proposed
su_v (suv-lp) wrote :

Diff to backport r12230 to lp:inkscape/0.48.x

su_v (suv-lp) wrote :

Fix backported to lp:inkscape/0.48.x in revision 10002.

Changed in inkscape:
milestone: 0.49 → 0.48.5
tags: removed: backport-proposed
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers