docname incorrectly set in 0.46 in output extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Unassigned |
Bug Description
On Win32, during Save/Save-As/Save-a Copy, defined "output" extensions are invoked with argv[1] containing the name of a temporary file which contains the SVG. The XML in that, has the attribute sodipodi:docname set to the name of the temporary file instead of the name the user wanted to save the file as (e.g. sodipodi:
Problem occurs in 0.46 and in Inkscape0806231
On Linux (can only test 0.43) the handling is correct: sodipodi:docname contains the document name.
Extensions that want to "do" something with the file (e.g. copy it somewhere, create archives, etc.) can't because they don't know what the filename is.
Changed in inkscape: | |
importance: | Undecided → Low |
tags: | added: exporting saving |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Old file name is used in sodipodi:docname attribute when file saved with Save As.
Seen on linux with latest SVN update (r21820).