GNOME Bugzilla – Bug 706152
g_object_notify called with NULL priv->focus_widget
Last modified: 2013-08-17 08:05:49 UTC
By tabbing around the gnome-control-center password change dialog, entering passwords, clearing them, which enables/disables widgets, I've managed to arrive at the following CRITICAL: (gnome-control-center:17409): GLib-GObject-CRITICAL **: g_object_notify: assertion 'G_IS_OBJECT (object)' failed gtk_window_real_set_focus() is calling g_object_notify with a NULL gobject on line 7514: g_object_notify (G_OBJECT (priv->focus_widget), "is-focus");
(gdb) bt
+ Trace 232389
jhbuilt gtk and gnome-control-center with these patches: bug #702476 Prerequisite: have a second user on the system In User accounts panel, Unlock, Click the user's password to change it. Type a new password that validates, type a confirm password. Then delete the confirm password <shift-tab> and delete the original password.
that code you're talking about has focus-changed handlers. thats a big red flag - I would assume the bug is over there...
Created attachment 251934 [details] [review] window: Some protection against nested set_focus() calls Since set_focus() can triger events, have a check to make sure state is still valid before firing is-focus signal.
Review of attachment 251934 [details] [review]: sure
Attachment 251934 [details] pushed as 6a837c6 - window: Some protection against nested set_focus() calls