Inkscape.org
Beginners' Questions Markers in Inkscape 1.2
  1. #1
    Blue0 Blue0 @Blue0

    I've been using Inkscape 1.1.2 on a Windows Surface Pro 7 (Windows 11). I was excited to try Inkscape 1.2, but immediately encountered a problem with the markers. The solid arrowhead marker with the long tails wouldn't work. An image of it was in the new array of markers, but when I tried to use it, nothing happened. (Other markers, such as the scissors or other arrow heads would get applied to the selected path and would also display in the marker editing box within the stroke panel.)

    Aside from the issue with that marker, I would like to know whether it's possible to add to Inkscape 1.2 the arrowheads from 1.1.2 that were dropped from this new version. I'm in the middle of creating an extensive set of figures using some of those old arrowheads and would prefer not to have to recreate them. (My solution for now was to uninstall 1.2 and reinstall 1.1.2.)

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    There are a number of issues with markers, maybe this is related to your observations: https://gitlab.com/inkscape/inbox/-/issues/7017

  3. #3
    Blue0 Blue0 @Blue0

    Yes, thanks, that's the marker that didn't work for me. (I neglected to make a screen shot before uninstalling 1.2.)

    Do you know whether it's possible to use the markers from the older version in Inkscape 1.2? I poked around in the Inkscape 1.1.2 directory but didn't see the markers. I did find

    C:\Program Files\Inkscape\share\inkscape\markers\markers.svg

    but that seems to be a place to put new markers you make.

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    I think the new markers file can be edited to add the missing marker, or an existing marker in the file can be edited with the path data of the missing marker. I rekon the former is preferable, for forward compatibility.

    I can't test this myself... yet.  My Linux skills are insufficient to get into the appimage read-only markers file, but Ill keep poking at it (as time allows).

  5. #5
    Aero Aero @Aero◻️

    The issue seems to be the marker (with id Arrow1) is listed twice (lines 81-97 and lines 178-193).

    https://gitlab.com/inkscape/inkscape/-/blob/master/share/markers/markers.svg

    Deleting the lines 81-97 (the first marker with id Arrow1) seems to fix it.
     

  6. #6
    Blue0 Blue0 @Blue0

    Thanks Tyler Durden and Aero. I'll try your suggestion to edit the markers file.

  7. #7
    Blue0 Blue0 @Blue0
    *

    I deleted the first instance of Arrow1 in markers.svg. That didn't fix the missing arrow, so I undid that deletion and deleted the second instance. No success that way either. (I restarted Inkscape after deleting the second instance, in case it loads the markers file on startup and doesn't see changes after startup.)

  8. #8
    Aero Aero @Aero◻️

    Yes, it loads the file on startup.

    I tested again my own steps. I edited the original file using Notepad++. Started Inkscape and all the listed markers works in a new document.

  9. #9
    Blue0 Blue0 @Blue0
    *

    I just tried it again, making sure to start with a new file. Still no luck. The markers file I have has this identification info near the top:

       id="InkscapeMarkers"
       version="1.1"
       sodipodi:docname="markers.svg"
       inkscape:version="1.2-dev (0adcaab, 2021-12-10)"

    I'm trying Inkscape 1.2 on a Microsoft Surface Pro 7 with Windows 11 on it. I installed from the msi provided for 64-bit systems.

    I'll try restarting the computer to see if that makes a difference.

    ETA: Restarting the computer made no difference.

  10. #10
    Tyler Durden Tyler Durden @TylerDurden

    Now logged as bug:  https://gitlab.com/inkscape/inkscape/-/issues/3544

    Fix is proposed for backporting to current version.

    I'll try the workaround after installing PPA.

  11. #11
    Aero Aero @Aero◻️
    👍👍

    Maybe download and test the markers.svg they just merged into master?

    https://gitlab.com/inkscape/inkscape/-/blob/master/share/markers/markers.svg

  12. #12
    Tyler Durden Tyler Durden @TylerDurden

    New markers.svg works in Mint. 

  13. #13
    Blue0 Blue0 @Blue0

    Thanks, @Aero. The new markers.svg works in Windows 11 as well.