"use" element works unreliably (on windows)

Bug #1808942 reported by Lode Leroy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

I try to embed an existing svg inside a manually written svg (the image.svg is next to this file, and writting by inkscape):

      <use xlink:href="image.svg#svg8" opacity="0.50"/>

On linux this works well.

On windows, this only works when I launch inkscape from the same directory as the main document, otherwise I get:

** (inkscape.exe:18476): WARNING **: Can't get document for referenced URI: image.svg#svg8

it seems like inkscape uses the url specified as-is.

I think it should prepend the url of the current file, to allow for relative url's in case the file is not found.

inkscape-0.92.3 on windows

Lode Leroy (lode-leroy)
description: updated
Revision history for this message
Nathan Lee (nathan.lee) wrote :

Replicated in 0.92.3, on Windows 10

Not replicated anymore in 0.92.4, 0.92.5 and 1.1

Note, you may still be suffering from https://gitlab.com/inkscape/inkscape/-/issues/2083

Closing as part of the bug migration to GitLab (https://alpha.inkscape.org/bug-migration/), thanks for reporting and please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

(attached is the files I used for testing)

Changed in inkscape:
status: New → Fix Released
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.