Batch Export confused by inkscape:export-filename

Bug #680102 reported by Emkeyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Batch export is broken, both in stable and in build version.

Procedure:
Take a complex SVG with many (named) groups.
Select a bunch of items.
Batch export to PNG.
A random selection of items are exported. Some files are named according to their group name, some as something else, like an earlier export or just .png

Workaround:
Save a copy as Plain SVG.
Select items.
Batch export.
Items are exported according to their group name.

Troubleshooting:
After having a look in the internal XML editor it seems to me that batch export gets confused with the numerous "inkscape:export-filename" that are attached frivolously to groups and sometimes even paths.

Suggestions:
First: Make Batch Export ignore all inkscape:export-filename.
Second: Make up a new strategy for when inkscape:tags should be attached and when they should be cleaned up. There seems to be quite a lot of them.

Emkeyen (emkeyen)
description: updated
Revision history for this message
su_v (suv-lp) wrote :

Please read the manual about (batch) exporting to bitmap: expprt hints are a feature, not a bug.

Possibly a duplicate of
Bug #411568 “Batch export should be more explicit about where it exports stuff”:
<https://bugs.launchpad.net/inkscape/+bug/411568>

tags: added: bitmap exporting
Revision history for this message
su_v (suv-lp) wrote :

Sorry, forgot to add the link to manual page:
<http://tavmjong.free.fr/INKSCAPE/MANUAL/html/File-Export.html#id4337007>

Revision history for this message
su_v (suv-lp) wrote :

See also the release notes of Inkscape 0.46 about batch export and export hints:
<http://wiki.inkscape.org/wiki/index.php/Release_notes/0.46#Bitmap_export>

Revision history for this message
Emkeyen (emkeyen) wrote :

Expert hints is a good approach. But, currently they are a bit in conflict with usability as hints are set automatically without user interaction and later cause problems for the user not aware that they have been set. Maybe there could be a setting in the preferences for Normal/Expert Mode which decides if hints are to be respected or not? Or in this case, a check box in the Batch Export dialogue? Have I missed something if I claim that these hints are not accessible unless the user starts digging in to the XML?

Looks like a duplicate when it comes to consequences from a non expert user perspective.

Sorry if my original report sounded a bit harsh, was just trying to be short and clear.

Revision history for this message
su_v (suv-lp) wrote :

> (…) hints are set automatically without user interaction (…)

If you close instead of save the file after exporting individual objects, the export hints do not get stored in the SVG file (i.e. after the last edit, save the file and only then export to bitmap, so that the latest changes - adding the export hints - can be discarded without losing any image data).

> Have I missed something if I claim that these hints are
> not accessible unless the user starts digging in to the
> XML?

The saved export hint is displayed in the 'Filename' field and can be edited in the dialog if the object is selected individually. There is no interface to globally reset or edit the stored export hints of all objects in the file.

> Sorry if my original report sounded a bit harsh

No problem ;)

Linking as duplicate to bug #411568 to keep tracking and discussion of the reported issue in one place. Please add a comment here and revert the duplicate status if you don't agree and think these are unrelated usability issues that need to be tracked and solved independently.

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.