"Linked image not found" after copy-paste when sodipodi:absref is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Operating system: OpenSUSE 12.2
Inkscape version: 0.48.3.1 r9886
Please see the attached .tar.gz that contains three files: a .svg and two .png files. Extract it anywhere *except* your home directory. The SVG is created by GNU Octave, and links in the two .png images. When the SVG is opened in Inkscape, the two .png images appear correctly. Now, ungroup repeatedly until all the objects are separate. Then cut, then paste one of the .png images. A placeholder "Linked image not found" graphic appears instead of the original image.
If you right-click on the image and select "Image properties" both before and after the cut and paste, it suggests that, after pasting, the user's home directory is prepended to the image URL.
A workaround for the moment is to simply correct this path after pasting. Alternatively, saving the SVG with Inkscape and reopening it appears to correct the problem. As such, the problem does not seem to be reproducible with an SVG created by Inkscape itself, only importing SVGs created from other sources (in this case GNU Octave).
A further issue that I'll report here as it may be related. With the same attachment, if one selects Extensions > Images > Embed Images, Inkscape crashes:
Inkscape encountered an internal error and will close now.