GNOME Bugzilla – Bug 786771
Critical about mismatched GdkDisplays when opening Inspector combobox
Last modified: 2017-08-27 21:12:40 UTC
With GTK+ 3.22.17 on Debian unstable, on X11 (at least), opening the Inspector over any program, and trying to open the ComboBox from the Objects tab > Show Details button: > Gdk-CRITICAL **: gdk_device_grab: assertion 'gdk_window_get_display (window) == gdk_device_get_display (device)' failed The popup does not open; the button just stays depressed (and thus, so do I). I haven't been able to replicate this with the ComboBoxes in gtk3-demo or testcombo. Also, due to the version, it's not related to the recent change in grabbing on GtkButton (which hit GTK+ 3 only). Perhaps strangely, though, GTK+ 4 does not exhibit this.
D'oh. I forgot I had a ~/.config/gtk-3.0/gtk.css that enforced -GtkComboBox-appears-as-list, as part of tests for the other 100 bugs about that monstrosity. With the non-deprecated menu type ComboBox, as solely used in GTK+ 4, this doesn't happen. Something is really wrong with -appears-as-list, and it may be one or multiple problems; I won't bother keeping this one open until some headway is made with the others, to ascertain how many issues we're dealing with.
*** This bug has been marked as a duplicate of bug 468868 ***