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 540220 - SVG Export is Broken
SVG Export is Broken
Status: RESOLVED DUPLICATE of bug 475978
Product: dia
Classification: Other
Component: exports
0.96.1
Other All
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-25 20:47 UTC by Robert Myers
Modified: 2008-06-27 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Myers 2008-06-25 20:47:45 UTC
Please describe the problem:
Attempting to export an image from dia produces a broken SVG file.  Here is a screenshot of the SVG produced, opened from Inkscape:

http://img255.imageshack.us/img255/3791/brokensvgfk1.png



Steps to reproduce:
1. Create image in Dia
2. Export image as SVG
3. Open SVG file in another program, and see what happens.


Actual results:


Expected results:


Does this happen every time?


Other information:
Opening the exported SVG files in Konqueror causes it to eat up 100% CPU time as it draws each letter in the SVG, oversized, one at a time on top of each other.  Konqueror becomes unresponsive at this point, and must be killed.
Comment 1 Hans Breuer 2008-06-27 10:24:57 UTC
the file exported is still a valid SVG file so every program choking with 100% CPU deserves it's own bug report. But with current SVN it is much more difficult to export such a file for two reasons:

2008-04-26  Hans Breuer  <hans@breuer.org>

	* plug-ins/python/Makefile.am : add allprops.py, remove 
	diasvg_import.py from installed plug-ins

2008-05-02  Hans Breuer  <hans@breuer.org>

	* lib/filter.[hc] : introduce the ability to influence guessing of
	import/export -filters. If one is marked as FILTER_DONT_GUESS it is 
	only selected by the guessing if it is the only one registering a 
	certain extension
	* lib/plug-in.h : increase DIA_PLUGIN_API_VERSION
	* plug-ins/python/diamodule.c : set FILTER_DONT_GUESS for all filters
	implemented in Python

With the 0.96.1 you should be able to avoid it by explicit choosing of "Scaleable Vector Graphics"

*** This bug has been marked as a duplicate of 475978 ***