Saving a file on Inkscape 0.92.2 from an SVG exported from Photoshop causes paths to not be saved/loaded correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I exported a SVG from Photoshop and opened it on Inkscape 0.92.2, after modifying and saving this file on Inkscape and reopening the file on Inkscape, I notice that some paths are missing.
On further inspection, it seems that while saving the paths, Inkscape is not adding the opening and closing tags (< and />) of the path while saving, and sometimes even when those are present the path is not loaded.
The path appears on the XML viewer of Inkscape but since it's not read as being inside an opening and closing tag it can't be edited.
I believe this error happens because of all other data Photoshop saved on the file and it's messing with Inkscape read/save.
Attached is an minimal example from the original SVG that shows the error, it has a single path that won't load on Inkscape visually, but still shows up on the XML viewer.
Inkscape 0.92.2 x64
Windows 10 x64
Well, the attached file is invalid (and doesn't render in Firefox either).
The problem is not so much the path but the strange "xpacket" part. If you delete everything surrounded by those "<?xpacket?>" tags the file loads properly.
Unless the original file exported from Photoshop is valid and Inkscape "breaks" it when saving I'd say this is a Photoshop issue...