After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629318 - 'Import Path' imports empty path(s) from SVG 1.1 document.
'Import Path' imports empty path(s) from SVG 1.1 document.
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Tools
git master
Other All
: Normal major
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2010-09-10 20:11 UTC by Mirza
Modified: 2015-11-29 23:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The SVG file generated by Blender 2.53 representing two connected polygons (quads). (645 bytes, image/svg+xml)
2010-09-10 20:11 UTC, Mirza
Details

Description Mirza 2010-09-10 20:11:22 UTC
Created attachment 169988 [details]
The SVG file generated by Blender 2.53 representing two connected polygons (quads).

- Importing paths from SVG document resulted with empty path(s).

Steps to reproduce:

1. File->Open and select SVG document (attached), click Open.
2. Set checked "Import Paths" and "Merge Imported Path *".
3. Select "Path" dialog (i.e. from the menu Windows->Dockable Dialogs->Paths).
4. Try to show "Imported Path". 

The bug: Path is empty.

(*) If this option is unchecked the both paths are imported as empty.
Comment 1 Mirza 2010-09-10 20:15:38 UTC
Expanding the step 2 (click 'OK').

2. Set checked "Import Paths" and "Merge Imported Path *", click 'OK'.
Comment 2 Mirza 2010-09-10 21:02:32 UTC
A meaning of "empty path" is that it exist as an entry in "Path dialog" but
it cannot be showed/displayed on canvas.
Comment 3 Simon Budig 2010-09-10 23:55:15 UTC
Fixed in current git.

The problem occurred due to the space at the end of the "points" string. Gimp miscalculated the number-count and then rejected the path data, since 9 numbers cannot properly describe a set of coordinates (needs an even number of numbers).

commit 9ffaf94170269b9ee976b772d1319fac8cbf24c6
Author: Simon Budig <simon@budig.de>
Date:   Sat Sep 11 01:51:13 2010 +0200

    fix path import of polylines/polygons