End and Start markers drawn on each sub-path

Bug #417597 reported by Tavmjong Bah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
In Progress
Undecided
Unassigned

Bug Description

Inkscape is drawing Start and End markers on each sub-path of a path. This appears to be wrong reading the SVG spec. Both Batik and Firefox 3.5 draw the Start and End markers once on path. A test SVG file is attached.

Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Confirmed with Inkscape r22115 on OS X 10.5.8,
not confirmed with Inkscape 0.46-2

 -> regression

Changed in inkscape:
status: New → Confirmed
tags: added: regression
Revision history for this message
Johan Engelen (johanengelen) wrote :

Thanks for the test file. I've added it to the testsuite.

Revision history for this message
Johan Engelen (johanengelen) wrote :

What about mid markers? Should they be shown on the subpaths?

Revision history for this message
Johan Engelen (johanengelen) wrote :

Here a patch that fixes the problem.
I still would like to know how mid markers should show. Please add a test file to a new bug report (and to the testsuite if possible) if you know how it should be. Thanks.

Revision history for this message
su_v (suv-lp) wrote :

Patch tested and fix confirmed with Inkscape 0.46+devel r22521+patch on OS X 10.5.8

drawings used to test:
bug #417597 (start-, end-markers on subpaths)
<http://launchpadlibrarian.net/30685578/Marker_Subpath_Test.svg>
bug #452568 (zero-length segments and single points with markers)
<http://launchpadlibrarian.net/33941179/452568-markerTest-046-047.svg>

Changed in inkscape:
status: Confirmed → In Progress
Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :

As per Johan's request, a new bug report (456148) has been opened to cover mid-markers at ends of sub-paths. A new test SVG file was added there. The test file should replace the one submitted here (it covers both cases as well as being cleaned up a bit).

su_v (suv-lp)
tags: added: svg
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.