eraser tool applied to a path with 2 nodes and undo do not play nicely
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: | added: eraser undo |
Changed in inkscape: | |
status: | In Progress → Fix Committed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
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.