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

Bug #1256347 reported by Cojnel on 2013-11-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
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) on 2013-11-29
Changed in inkscape:
importance: Undecided → Low
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
jazzynico (jazzynico) wrote :

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

Changed in inkscape:
status: Confirmed → Triaged
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).

jazzynico (jazzynico) wrote :

Partial fix (comment #2) committed revision 12846.

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  Edit
Everyone can see this information.

Other bug subscribers