Inkscape.org
Beginners' Questions Broken link checker
  1. #1
    wisc95 wisc95 @wisc95

    I recently opened up a file in Inkscape 1.1, and it popped up a message that said: "Broken links have been changed to point to existing files." I remembered at that moment that I'd changed the name of a linked image file on disk. It looked like Inkscape was able to find the correct file and update the reference. That's all great. But, I'm more worried about how this is going to behave in the future.

    Is there any way to see what has been updated after the links have been fixed? What if it were to update it to the wrong image? What does it do if it can't find an image that works? In addition, is there any way to turn it off (for example, if the link isn't broken, just temporarily unavailable)?

  2. #2
    Chameleon Scales Chameleon Scales @Chameleon_Scales
    *

    What if it were to update it to the wrong image?

    It can. This happened to me and my colleagues a few times. We've had images be loaded from way up in the folder tree and back down to a completely different project folder. Inkscape doesn't stop searching until it finds a file with the same name, which to me is overdoing it. And since the documents we produce are similar across projects, until we knew what the message "Broken links have been changed to point to existing files" really meant (and it's not phrased crystal-clear tbh), we did not necessarily realize what happened until we were ready to send a document, which is dangerous.

    What does it do if it can't find an image that works?

    Then it displays this warning in place of the image:

    is there any way to turn it off?

    I asked the same question yesterday, not knowing you already did: https://inkscape.org/forums/beyond/disable-auto-searching-of-missing-image/

    The answer seems to be no so I just made a feature request: https://gitlab.com/inkscape/inbox/-/issues/5894

    Question to you: What is your operating system and Inkscape version? I'm asking because apparently on Mac Inkscape doesn't replace any broken link. I use Linux and that's where it happens but I don't know about Windows. However, I'd like to give that information in my feature request.

  3. #3
    wisc95 wisc95 @wisc95
    ๐Ÿ‘

    I am inkscape on Arch Linux. It was the latest version available from pacman at the time I wrote that post, but I don't remember what that was.