GNOME Bugzilla – Bug 773127
Crash when clicking on combobox
Last modified: 2017-03-03 14:12:38 UTC
To reproduce: 1. Launch GTK Inspector 2. Ensure a specific object is selected 3. Click the Object combobox (or press space when focused to invoke the drop-down menu) 4. Crash To work around, use up/down arrows when combobox is focused to select other panes instead. GTK+ 3.22.0 (geary:17579): Gdk-CRITICAL **: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed Thread 1 "geary" received signal SIGTRAP, Trace/breakpoint trap. _g_log_abort (breakpoint=breakpoint@entry=1) at ././glib/gmessages.c:487 487 ././glib/gmessages.c: No such file or directory. (gdb) Quit (gdb) bt
+ Trace 236746
Actually, this is a problem with GtkComboBox in general - I can also reproduce essentially the same stack trace with a combo box in the app itself, using 3.22.3 from the Ubuntu gnome3-staging PPA.
This was caused by a Debian/Ubuntu patch revealing that the selection in the MenuShell was made before it was realised, whereupon it then tries to take a grab. The Debian patch checked the GdkWindow doing the grab, which obviously did not yet exist as the MenuShell was not realised. I fixed that ordering, presumably resolving this too. *** This bug has been marked as a duplicate of bug 771242 ***