Document size (mm) won't stay precise size

Bug #1076428 reported by pRototype
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
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.

Revision history for this message
pRototype (regeir) wrote :
Revision history for this message
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
Revision history for this message
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).

Revision history for this message
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)
tags: added: precision units
jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.