Pattern on Path produces unexpected shapes on closed paths

Steps to reproduce:

  • open Inkscape
  • select the Bezier tool
  • choose a Shape (Triangle in, Triangle out or Ellipse)
  • click 4 times and then click the first node to make a loop

Alternatively I tried creating the loop with normal lines from the Bezier path and then applying a pattern along path of a simple Bezier shape. This resulted in an ugly hollow outline, but it acted more predictably when nodes were dragged.

To me it seems like it's related to the bug where nodes sometimes connect to an end node when dragging nodes from shapes made with the Bezier&Ellipse tool.

What happened?

  • If you chose Triangle in, the object becomes invisible and the object border is to the bottom left of where you made your shape (can be made visible by increasing the stroke width)
  • If you chose Triangle in or Triangle out, the object becomes a lot bigger, extending the last line going to the first node by multiple of its length
  • If you chose Ellipse, the last line is the only proper one and the others only have a faint outline of what they should be

What should have happened?

The triangle/ellipse shapes should have applied normally to the path, without hiding any parts of the lines or going far beyond the size you drew the object at.

Inkscape Version and Operating System:

  • Inkscape Version: Inkscape 0.92.4 (5da689c313, 2019-01-14)
  • Operating System: Microsoft Windows 10 Home
  • Operating System version: 10.0.17763 Build 17763

Example file:

bezier_bug.svg

Edited by Nathan Lee