Comment 21 for bug 459811

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

Patch tested and partial fix confirmed with Inkscape 0.6+devel 22547+patch on OS X 10.5.8

fixed:

B) read/write to different locations in the prefs file
The values for start & end of the arc/segment option are now correctly read and written to the same location inside the eventcontext id="arc".

still broken:

A) no units conversion on read
The values stored in the preferences file are *not* converted to degrees when being read and filled into the entry fields of the ellipse controls bar. On write however the values taken from the controls bar entry fields are *always* converted from degree to the internally used value (radians?).
This results in smaller and smaller values stored in the preferences with every launch/quit cycle of inkscape. The ellipse controls bar misleadingly shows '0.000' after some cycles but the created ellipse isn't visible because it is a tiny arc (or segment) only. Once the user draws an ellipse and resets the values to '0' (by using the 'whole circle' button on the controls bar) it starts all over again.

(see also bug #371386 and bug #438141)