Path of original file not included in temporary file passed to extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Yesterday, I downloaded Inkscape 0.91 (the 32 bit pre-compiled version, I run windows 7) and found the following:
When writing extensions for Inkscape, it is useful to know the original file name and its path (I use this information to save a new version of the file in the same directory). The temporary file passed as an argument to extensions in Inkscape 0.91 no longer contains the full path of the original file, but rather just the file name. In Inkscape 0.48.5, the full path is provided.
More specifically, in version 0.91, the temporary file will contain the line:
sodipodi:
with the original file name "current_
sodipodi:
with the absolute path.
tags: | added: extensions-plugins |
Actually, after further testing, in version 0.48.5, sometimes the absolute path is there, sometimes its just the filename alone.
It looks like when you first open up a .svg file and call an extension, the absolute path will be provided. Then if you make a change to the file, save the changes and call the extension, only the filename is given in the temporary file. This behavior is for 0.48.5, I haven't tested 0.91.