spiral and stars tools, the inputbox for turns and corners shows 3 after undo

Bug #1256347 reported by Cojnel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

Draw either a spiral or star,
press undo,
the control bar shows 3 as a value in the inputbox for:
  "Turns:" with the spirals tool,
  "Corners:" with the stars and polygons tool.

If one draws a new shape,
when the mouse button is released,
the inputbox shows the previously set value,
and draws the shape correctly.

The first time the spiral tool is used,
it shows and draws 3 turns,
but when one presses the
"Reset shape parameters to defaults (use Inkscape Preferences > Tools to change defaults"
the number of turns changes to 5.

Tested with:
r12832 on linux mint 15 cinnamon 32bit

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Low
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48.4 and current trunk r12833.

Base tool settings: number of turns is '3'
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/ui/tools/spiral-tool.cpp#L68>

Reset to default on the hand sets it to '5':
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/view/head:/src/widgets/spiral-toolbar.cpp#L132>

tags: added: easy-fix preferences shape-editing
Changed in inkscape:
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Fix for the spiral default (now resets to 3).
Doens't fix the undo bug.

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Note that undoing with the Rectangle and Ellipse tools also show the same issue when undoing (values reset with the default values, but last used ones applied when creating an object).

Revision history for this message
jazzynico (jazzynico) wrote :

Partial fix (comment #2) committed revision 12846.

Revision history for this message
jazzynico (jazzynico) wrote :

Also committed in the 0.48.x branch, revision 10005.

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.