eraser tool closes open lines

Bug #356598 reported by Jérôme Borme
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

1. Draw a line with markers.
2. Use the eraser tool to erase around the line (do not intersect the line).
3. It may (or not) give weird results

It looks like the eraser tool closes the open lines. For lines with markers, it means that the start and end markers can be stacked at the same point (visually), which I guess is unwanted. Check the last lines of this diff.

diff -Naur test.svg test2.svg
--- test.svg 2009-04-06 21:43:34.000000000 +0100
+++ test2.svg 2009-04-06 21:43:56.000000000 +0100
@@ -14,7 +14,7 @@
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.46+devel"
- sodipodi:docname="test.svg"
+ sodipodi:docname="test2.svg"
    inkscape:output_extension="org.inkscape.output.svg.inkscape">
   <defs
      id="defs4">
@@ -109,6 +109,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -118,8 +119,7 @@
      id="layer1">
     <path
        style="stroke-width:1px;stroke:#000000;stroke-opacity:1;marker-start:url(#Arrow1Lstart);marker-end:url(#Arrow1Lend)"
- d="M 83.129151,409.7377 198.7871,330.22286"
- id="path4255"
- sodipodi:nodetypes="cc" />
+ d="M 198.78125 330.21875 L 83.125 409.75 L 198.78125 330.21875 z "
+ id="path4255" />
   </g>
 </svg>

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

Example file. Use the eraser around the line forming an angle at the lower left corner (see png above) to observe the stacking of the two markers at one extremity of the line. This is the file used to produce the diff above.

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

I forgot to specify the version I used:
* Linux x86_64 (2.6.29.1)
* gcc 4.3.2
* Inkscape r21064 (snapshot dated 6 Apr. 2009)

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Ubuntu 9.04, Inkscape rev. 21789.
Open lines without markers are also closed.

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
jazzynico (jazzynico)
summary: - eraser tool closes open lines, which gives weird results for lines with
- markers
+ eraser tool closes open lines
tags: added: eraser shape-editing
Revision history for this message
AstromanPete (peter-f-smith) wrote :

This is incredibly important for me for sketching!

I would also say this is an issue for the Tweak tool. Tools should have discrete functions which conform to their real-world counterparts (pencils and erasers). This behavior is an abhorrent side-effect. It makes the pencil tool useless for sketching.

Revision history for this message
AstromanPete (peter-f-smith) wrote :

I didn't mean for the above to sound as strident as it does. I was merely trying to emphasize how important this is to my workflow.

Revision history for this message
TDolce (todd-dolce) wrote : Re: [Bug 356598] Re: eraser tool closes open lines

Not strident at all. I agree with you 100%. This is why I cannot use inkscape for my cartooning.

Todd P. Dolce'
FedEx Solutions
901.224.2889 W
901.201.8840 C

----- Original Message -----
From: <email address hidden> <email address hidden>
To: Todd Dolce
Sent: Wed Nov 03 17:44:24 2010
Subject: [Bug 356598] Re: eraser tool closes open lines

I didn't mean for the above to sound as strident as it does. I was
merely trying to emphasize how important this is to my workflow.

--
eraser tool closes open lines
https://bugs.launchpad.net/bugs/356598
You received this bug notification because you are a direct subscriber
of a duplicate bug (408574).

Status in Inkscape: A Vector Drawing Tool: Confirmed

Bug description:
1. Draw a line with markers.
2. Use the eraser tool to erase around the line (do not intersect the line).
3. It may (or not) give weird results

It looks like the eraser tool closes the open lines. For lines with markers, it means that the start and end markers can be stacked at the same point (visually), which I guess is unwanted. Check the last lines of this diff.

diff -Naur test.svg test2.svg
--- test.svg 2009-04-06 21:43:34.000000000 +0100
+++ test2.svg 2009-04-06 21:43:56.000000000 +0100
@@ -14,7 +14,7 @@
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.46+devel"
- sodipodi:docname="test.svg"
+ sodipodi:docname="test2.svg"
    inkscape:output_extension="org.inkscape.output.svg.inkscape">
   <defs
      id="defs4">
@@ -109,6 +109,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -118,8 +119,7 @@
      id="layer1">
     <path
        style="stroke-width:1px;stroke:#000000;stroke-opacity:1;marker-start:url(#Arrow1Lstart);marker-end:url(#Arrow1Lend)"
- d="M 83.129151,409.7377 198.7871,330.22286"
- id="path4255"
- sodipodi:nodetypes="cc" />
+ d="M 198.78125 330.21875 L 83.125 409.75 L 198.78125 330.21875 z "
+ id="path4255" />
   </g>
 </svg>

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/inkscape/+bug/356598/+subscribe

Revision history for this message
jazzynico (jazzynico) wrote :

Still affecting 0.91 and trunk rev. 14684.

Changed in inkscape:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.