Stroke width changes when fill changed

Bug #1093741 reported by rickmastfan67
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Unassigned

Bug Description

Inkscape 0.48.4 r9939
Windows 7 x64

Steps to reproduce:
1. Open attached file in a text editor.
2. Go to line 55 and notice the text "stroke-width:1.05".
3. Now, open the file in Inkscape.
4. Select the object.
5. Change the fill color to anything by clicking on any of the colors in the color bar (except red since that's the current color of the fill for the object).
6. Re-save the file.

What happens:
When you re-open the file in the text editor and go back down to line 55, the "stroke-width" is now: 1.05000000000000000

What should happen:
The "stroke-width" shouldn't be changed since you only changed the fill color and never touched the stroke.

For some odd reason, Inkscape is adding fifteen 0's after the "1.05", thus adding 15 completely unnecessary bytes to the file.

Revision history for this message
rickmastfan67 (rickmastfan67) wrote :
su_v (suv-lp)
tags: added: precision
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48.4 on OS X 10.7.4,
not reproduced with current trunk (r11986).

Changed in inkscape:
importance: Undecided → Low
milestone: none → 0.49
status: New → Fix Committed
Bryce Harrington (bryce)
Changed in inkscape:
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.