Wrong marker color in EPS export, when the same marker is shared by different color objects

Summary:

Line markers like arrow heads have wrong colors in EPS export, when lines with markers of different colors are present.

The marker color of the last line added seems to be applied to all markers contained in the document.

Steps to reproduce:

  • Open Inkscape
  • Create new document
  • Create line
  • Add marker, e.g. arrow head
  • Create another line
  • Add marker
  • Change stroke color of second line
  • Select all objects
  • Export to EPS

What happened?

  • Marker color of first line is of the same color as second line

What should have happened?

  • Marker color of first line should not be affected by second line marker.

...

Sample attachments:

arrows.svg for reference arrows.eps with deviating marker colors from the svg.

Version info

Inkscape 1.1 (c4e8f9ed74, 2021-05-24) (Linux, Archlinux)
Edited by Nathan Lee