problems when closing properties dialog with windowmanager
From: Pierre Pronchery <pierre pronchery defora org>
To: dia-list gnome org
Subject: problems when closing properties dialog with windowmanager
Date: Mon, 22 Apr 2002 09:49:08 +0200
Hi,
I'm using Dia CVS 20020422, with Gnome 1.4, WindowMaker 0.80 on
a Debian 3.0 (woody).
This problem happens only when compiling with Gnome support.
When I close the properties dialog with my windowmanager instead
of the close button, and then try to open it again, it fails. It seems
the properties widgets have been destroyed:
Example: I've created a new diagram, with a UML class. Double-clicked on it,
closed the properties window with my window manager on top of the
window, and then double-clicked again on the class. It sometimes
immediatly segfaults, sometimes just fails to open it again.
Here are the error messages:
Gtk-CRITICAL **: file gtkentry.c: line 439 (gtk_entry_set_text):
assertion `GTK_IS_ENTRY (entry)' failed.
Gtk-CRITICAL **: file gtkobject.c: line 1163 (gtk_object_ref): assertion
`object->ref_count > 0' failed.
Gtk-CRITICAL **: file gtkobject.c: line 1163 (gtk_object_ref): assertion
`object->ref_count > 0' failed.
Gtk-CRITICAL **: file gtkobject.c: line 1173 (gtk_object_unref):
assertion `object->ref_count > 0' failed.
Gtk-CRITICAL **: file gtkobject.c: line 1163 (gtk_object_ref): assertion
`object->ref_count > 0' failed.
Gtk-CRITICAL **: file gtkobject.c: line 1173 (gtk_object_unref):
assertion `object->ref_count > 0' failed.
Gtk-CRITICAL **: file gtkobject.c: line 1173 (gtk_object_unref):
assertion `object->ref_count > 0' failed.
Gtk-CRITICAL **: file gtktogglebutton.c: line 284
(gtk_toggle_button_set_active): assertion `GTK_IS_TOGGLE_BUTTON
(toggle_button)' failed.
Gtk-CRITICAL **: file gtktogglebutton.c: line 284
(gtk_toggle_button_set_active): assertion `GTK_IS_TOGGLE_BUTTON
(toggle_button)' failed.
Gtk-CRITICAL **: file gtktogglebutton.c: line 284
(gtk_toggle_button_set_active): assertion `GTK_IS_TOGGLE_BUTTON
(toggle_button)' failed.
Gtk-WARNING **: invalid class type `(unknown)' in cast to
`GtkOptionMenu'
Gtk-CRITICAL **: file gtkoptionmenu.c: line 249
(gtk_option_menu_set_history): assertion `GTK_IS_OPTION_MENU
(option_menu)' failed.
Gtk-CRITICAL **: file gtkmenu.c: line 663 (gtk_menu_set_active):
assertion `GTK_IS_MENU (menu)' failed.
Gtk-WARNING **: invalid cast from `(unknown)' to `GtkOptionMenu'
Gtk-CRITICAL **: file gtkoptionmenu.c: line 249
(gtk_option_menu_set_history): assertion `GTK_IS_OPTION_MENU
(option_menu)' failed.
Gtk-CRITICAL **: file gtkmenu.c: line 663 (gtk_menu_set_active):
assertion `GTK_IS_MENU (menu)' failed.
Gtk-WARNING **: invalid class type `(unknown)' in cast to
`GtkOptionMenu'
Gtk-CRITICAL **: file gtkoptionmenu.c: line 249
(gtk_option_menu_set_history): assertion `GTK_IS_OPTION_MENU
(option_menu)' failed.
Gtk-CRITICAL **: file gtkmenu.c: line 663 (gtk_menu_set_active):
assertion `GTK_IS_MENU (menu)' failed.
Gtk-WARNING **: invalid cast from `(unknown)' to `GtkOptionMenu'
Gtk-CRITICAL **: file gtkoptionmenu.c: line 249
(gtk_option_menu_set_history): assertion `GTK_IS_OPTION_MENU
(option_menu)' failed.
Gtk-CRITICAL **: file gtkmenu.c: line 663 (gtk_menu_set_active):
assertion `GTK_IS_MENU (menu)' failed.
I think I should have tried with a less complicated entity :)
The properties window seems to have been destroyed instead of just
hidden, or created again. This problem doesn't happen with the layer
window.
I hope this will help,
Pierre Pronchery