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 156996 - color menu and UML class clashes
color menu and UML class clashes
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: objects
CVS head
Other Linux
: Normal major
: 0.95
Assigned To: Dia maintainers
Dia maintainers
: 159805 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-31 23:23 UTC by Hans Breuer
Modified: 2005-10-08 20:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hans Breuer 2004-10-31 23:23:56 UTC
Change some Operations in the UML Class Dialog,
hit apply and you'll get invalid colors thrown
into the recently added color-menu (which looks
quite nice - as long as it works):
[Marking as 'major' cause I expect this to crash
with fully release enabled Gtk+]

(dia:8808): Gtk-CRITICAL **: file gtkobject.c: line 726
(gtk_object_get_user_data): assertion `GTK_IS_OBJECT (object)' failed

(dia:8808): Gtk-CRITICAL **: file gtkobject.c: line 726
(gtk_object_get_user_data): assertion `GTK_IS_OBJECT (object)' failed

(dia:8808): Gtk-CRITICAL **: file gtkobject.c: line 726
(gtk_object_get_user_data): assertion `GTK_IS_OBJECT (object)' failed

(dia:8808): Gtk-CRITICAL **: file gtkobject.c: line 726
(gtk_object_get_user_data): assertion `GTK_IS_OBJECT (object)' failed

(dia:8808): Gtk-CRITICAL **: file gtkobject.c: line 726
(gtk_object_get_user_data): assertion `GTK_IS_OBJECT (object)' failed

(dia:8808): Gtk-CRITICAL **: file gtkobject.c: line 726
(gtk_object_get_user_data): assertion `GTK_IS_OBJECT (object)' failed

(dia:8808): Gtk-WARNING **: Failed to set label from markup due to error parsing
markup: Could not parse background color specification '#0000212' on line 1

(dia:8808): Gtk-WARNING **: Failed to set label from markup due to error parsing
markup: Could not parse background color specification '#0000212' on line 1

(dia:8808): Gtk-WARNING **: Failed to set label from markup due to error parsing
markup: Could not parse background color specification '#0000212' on line 1
Comment 1 Hans Breuer 2004-11-29 21:34:13 UTC
*** Bug 159805 has been marked as a duplicate of this bug. ***
Comment 2 Lars Clausen 2004-11-29 21:55:44 UTC
I've seen it myself, and it looks like a pointer problem with Color objects.
Comment 3 Hans Breuer 2004-12-03 12:47:51 UTC
2004-01-03  Hans Breuer  <hans@breuer.org>

	* lib/libdia.def : removed dia_marshal_*, they are implemented as macros.
	added dia_font_set_height, dia_font_copy (note to self: don't try to
	maintain these from the *NIX side ;)

	* lib/widgets.h : removed DiaColorSelector::col, it is not maintained by
	the new color selection anymore
	* objects/UML/class_dialog.c : with the above change it would have been more 
	easy to fix the color loss bug #156996 which had nothing to do with 'a pointer
	problem' but only was an unfinished usage of dia_color_slector(get|set)_color

	*  objects/UML/class_dialog.c  objects/UML/class.[ch] : uml_apply_properties
	(used in object vtable) and make its prototype match

	* lib/widgets.c : made all the GtkTypeInfo 'static const'. I can't directly
	correlate any of these strange crashing bug with it, but assume bad things to 
	happen when one passes stack allocated stuff to gtk_type_unique()

	* lib/widgets.c(dia_font_selector_get_font) : don't access menuitem if it is
	not there. Fixes most of the warnings from bug #156996

	* lib/makefile.msc : rules to generate diamarshal.[ch]

Comment 4 Hans Breuer 2005-10-08 20:05:54 UTC
Adjusting target to help finding 0.94 dups already fixed