Skip to content

Don't set inkscape:export-filename on export selection if multiple objects selected

Steps to reproduce:

Update: added some extra conditions, unsure if these are minimal steps

  • open Inkscape
  • create several objects of any type
  • save the file
  • open the export PNG dialog
  • select all the objects
  • change the export filename/output path
  • Export
  • select "Batch export n selected objects"
  • Export

What happened?

  • Each object gets exported but they overwrite each other
  • They are given the custom filename rather than ~/object_id.png

This might not be directly related but even when I manage to export the objects with correct filenames they will sometimes get exported to different places if they were ever exported individually to a different location.

What should have happened?

  • Selecting individual object should result in output filename in the export window updating according to the selected object's ID.
  • selecting and exporting multiple objects should result in creating PNG files that are all named after their ID labels.

Also, this is not a bug but rather a feature and functionality that is lacking here and is related to the problem:

  • there should be a way to specify and change the location for batch exported objects.

Inkscape Version and Operating System:

  • Inkscape Version: ...0,92 but the same thing also happened in the previous release
  • Operating System: Windows 10
  • Operating System version: has all the latest updates

Attached a sample file but it seems that this bug resets upon reopening and then emerges again at some point. the problem with inconsistent file destination in batch export remains though.

export-ID-bug.svg

Edited by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information