GNOME Bugzilla – Bug 325719
Dia crashes at start when custom shapes include textbox
Last modified: 2006-01-06 10:36:59 UTC
Compare this two pieces of code: 1. <?xml version="1.0" encoding="UTF-8"?> <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg"> <name>SCADA - generator</name> <icon>generator.png</icon> <connections> <point x="10" y="0"/> <point x="10" y="20"/> </connections> <aspectratio type="fixed"/> <svg:svg width="20" height="20"> <svg:circle cx="10" cy="10" r="10"/> <svg:text x="10" y="10" font-size="10">G</svg:text> </svg:svg> </shape> OK 2. <?xml version="1.0" encoding="UTF-8"?> <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg"> <name>SCADA - generator</name> <icon>generator.png</icon> <connections> <point x="10" y="0"/> <point x="10" y="20"/> </connections> <textbox x1="25" y1="5" x2="50" y2="15"/> <aspectratio type="fixed"/> <svg:svg width="20" height="20"> <svg:circle cx="10" cy="10" r="10"/> <svg:text x="10" y="10" font-size="10">G</svg:text> </svg:svg> </shape> -> look at the textbox line! Crashes at start with message: ** (dia.exe:4024): WARNING **: No attribute text (00000000) or no data(00000000) in this attribute (dia.exe:4024): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_re f): assertion `G_IS_OBJECT (object)' failed
Thanks for your bug report. This is a defect already known and fixed in cvs. To see other things which will work with the next release go to: http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.95&resolution=FIXED *** This bug has been marked as a duplicate of 155430 ***