Document size (mm) won't stay precise size

Bug #1076428 reported by pRototype on 2012-11-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Unassigned

Bug Description

Hi.

Inkscape 0.48+devel r11859
WIndows XP sp3 Norwegian

When a document has a width and height given in milimeters as whole numbers - 600mm x 400mm - and saves the document, it changes to 599,99998mm x 399,99999 mm nex time I open the document.

I attach the affected file.

pRototype (regeir) wrote :
Alvin Penner (apenner) wrote :

- not reproduced on Windows 7, Inkscape 0.48.3.1
- reproduced on Windows XP, Inkscape rev 11861

- the difference appears to be somewhat deliberate. On Inkscape 0.48.3.1 the spin box displays only 2 digits after the decimal point, with the result that the roundoff process leads to a precise result.

- on recent devel version the spin box displays 5 digits after the decimal point, so there is no rounding off occurring, when there should be. I would suggest that 2 digits would be better.

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp) wrote :

> I would suggest that 2 digits would be better.

It was changed based on user demands (see also bug #171980).

Alvin Penner (apenner) wrote :

thanks for finding that report, I had thought that the change would have been more recent than that.
In that case I would suggest using 4 digits. This would provide more precision than most of the other spin boxes which often use 3 digits, and it would still be sufficient to solve this particular bug report.

su_v (suv-lp) on 2012-11-09
tags: added: precision units
jazzynico (jazzynico) on 2012-11-14
Changed in inkscape:
status: Confirmed → Triaged
Beluga (buovjaga) wrote :

Not reproduced. Plz re-test.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15073 (GTK3)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers