eraser tool applied to a path with 2 nodes and undo do not play nicely

Bug #415471 reported by Jérôme Borme
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Jabiertxof

Bug Description

1. Select the “Bezier” (or the “Free Hand”) tool and draw one or several lines, each of them containing exactly two nodes (points).
2. Select the Eraser tool in the mode of “Cut out of object” and draw a path intersecting the Bezier (or Free Hand) lines. (The line is then erased)
3. Use “Undo” (Ctrl-Z).

4a. Expected result: The erased Bezier lines should reappear.
4b. Actual result: The line drawn by the eraser appears. Press a second time Undo and the lastly erased line appears. Use again the Undo function to make reappear, one by one, the erased line. When the last line reappears, the eraser path is removed from display.

Comments:
A. The one-by-one functioning of the undo is ok.
B. The bug is not really annoying because the eraser path can always be manually selected and suppressed if necessary.
C. There is no reason to display the eraser path, specially if this only happens for lines with two nodes.

Tested with inkscape r22125 (Aug. 18, 2009) under linux

Tags: eraser undo
Revision history for this message
Jérôme Borme (jerome-borme) wrote :

I am not sure if I clearly explained. After drawing the lines, using the eraser and undo, what (erroneously) appears is the path that the user followed when he used the eraser tool. It looks like a closed Bezier line with a constant thickness and can be used in the design by hand (which is normally useless).

See the attachment. There are two horizontal lines with two nodes and one red vertical “line.” The latter is the path I followed to erase the lines (which I then cancelled using the undo function).

I see this bug since April but I never took time to submit it before.

su_v (suv-lp)
tags: added: eraser undo
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape 0.47.

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Still affecting Inkscape 0.91.

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

Tis is fixed in the path proposal for fix: https://bugs.launchpad.net/inkscape/+bug/1553182

Changed in inkscape:
assignee: nobody → Jabiertxof (jabiertxof)
Revision history for this message
jazzynico (jazzynico) wrote :

Patch from bug #1553182 tested successfully.
Thanks, Jabier!

Changed in inkscape:
milestone: none → 0.92
status: Triaged → In Progress
Jabiertxof (jabiertxof)
Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
Jabiertxof (jabiertxof) wrote :

Fixed in r.14688

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.