Relative link becomes absolute until saving when object is copied
Migrated from: https://bugs.launchpad.net/inkscape/+bug/498645
Steps to reproduce:
- open Inkscape
- save the file
- import an image and select "Link" -> Note that the XML editor shows a relative file path in
xlink:href
- copy and paste the image in the same document
What happened?
The XML editor now shows an absolute file path.
Same for linked SVG files.
When saving the file, all paths are updated and are made relative, if the corresponding preferences setting is left to default (Store absolute file path for linked images is unchecked).
What should have happened?
The XML editor shows a relative file path.
Inkscape Version and Operating System:
- Inkscape Version: 1.1-dev (c990a67, 2020-04-09)
- Operating System: Windows 10
- Operating System version: 10.0.18362