The Export filename is changing, additional prefix path, when I modify the document
Summary:
When using the Export feature, the filename does not remain the same. It continues to add additional prefixes to the path, thus saving in ever deeper, and unwanted file locations.
Steps to reproduce:
- open Inkscape
- I opened export with Ctrl+Shift+E (to see in sidepanel)
- I selected "Page", then a pathname of "../UnityChips/Assets/Graphics/board/chip-digits.png"
- I clicked export
- Click something in the doc, then clear the selection again
- The pathname in Export changes to "/src/edaqasroom/master/chips/UnityChips/Assets/Graphics/board/chip-digits.png" which is the absolute path of the relative directory (a problem, but not tragic yet)
- Click something in the doc, then clear the selection
- The pathname in Export changes to "/src/edaqasroom/master/chips/UnityChips/Assets/Graphics/UnityChips/Assets/Graphics/UnityChips/Assets/Graphics/board/chip-digits.png" which is now wrong. It appears to keep doing the same prefix appending each time.
I'm unable to produce the full problem with simpler file paths, such as ../output/sample.png -> /tmp/output/sample.png.
In the above paths there are no soft-linked directories or files. The same thing happens if I start with the absolute path, not just the relative path. If somehow relevant, the /src folder is a bind-mount in fstab.
What happened?
The path is changed when the page/nothing is selected. Eventually to a wrong path.
What should have happened?
The path should not change. Relative paths should also work. This worked fine in previous versions of Inkscape.
Sample attachments:
Version info
Inkscape 1.4 (e7c3feb, 2024-10-09)
Compile (Run)
GLib version: 2.64.6
GTK version: 3.24.20 (3.24.20)
glibmm version: 2.64.2
gtkmm version: 3.24.2
libxml2 version: 2.9.10
libxslt version: 1.1.34
Cairo version: 1.16.0 (1.16.0)
Pango version: 1.44.7 (1.44.7)
HarfBuzz version: 2.6.4 (2.6.4)
OS version: Ubuntu 24.04.2 LTS