Buggy gap rendered in straight line

Bug #1738182 reported by Mirko Kunze
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Here is the test file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   height="720"
   id="svg2"
   version="1.1"
   viewBox="0 0 1280 720.00001"
   width="1280">
  <path
     style="fill:none;stroke:#ff0000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:980.33098217;stroke-dashoffset:4.85312366px;stroke-opacity:1"
     originalstyle="fill:none;stroke:#80e5ff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
     id="path98"
     d="M 172.20908,599.42773 C 457.16817,446.20364 742.12489,292.976 1027.0849,139.75425" />
</svg>

I use Inkscape 0.91 on Ubuntu 16.04.

This image is one frame of an automatically generated, self-drawing animation, that's why stroke-dasharray and stroke-dashoffset have so strange values. I see an unwanted gap in the middle of this line. Beginning and end of the gap cut the path horizontally (and not orthogonal to the path direction), the location of the gap is different depending on the GUI zoom level. And it's also visible in png export.

The bug is gone as soon as I make the line solid. It might also have to do with the fact that this is a straight line (so the two corner nodes would actually be enough to define it) but it has two additional in-line bezier nodes. As soon as I move one of the nodes out of line, the bug is gone. If I rotate the whole line (so that all 4 points remain on a straight line), it changes a bit but stays.

Revision history for this message
Mirko Kunze (mircode) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows 10, Inkscape 0.92.2 (5c3e80d, 2017-08-06)

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Hi, thanks for the report.

I'm closing this report as part of the bug migration to GitLab. You can continue to track the issue in https://gitlab.com/inkscape/inkscape/-/issues/670 .

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

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