GNOME Bugzilla – Bug 743683
Using GtkComboBox-appears-as-list: 1 breaks mouse control
Last modified: 2017-08-28 20:30:47 UTC
Using CSS style "-GtkComboBox-appears-as-list: 1" for GtkComboBox makes the box imposible to control with mouse inside Gtk.Dialog (works with keyboard navigation). Steps to reproduce: 1. Run this simple example: https://gist.github.com/vojtechtrefny/ed5ac485585484483b6c 2. Click on "Open dialog" 3. Try to select something from the combo box using your mouse. Currently for example oxygen-gtk theme sets appears-as-list to 1 making some GTK3 application unusable in KDE. But the problem appears with all themes (the example code above "works" in pure GNOME too). KDE bug: https://bugs.kde.org/show_bug.cgi?id=343478
It looks like this is now fixed in GTK 3.22.4. I am seeing a problem with the same symptoms (bug 776793) and I tried running the app attached here to see if it is the same problem. What I found was that on my Fedora 23 system with GTK 3.18.9 the app shows the problem as described, but in Windows / msys2 with GTK 3.22.4 it does not happen and the "appears-as-list" combo works fine. And note that the problem reported in bug 776793 has the same symptoms but that one does still happen in Windows / msys2 with GTK 3.22.4 where this does not, hence it is not the same cause.
Vojtech, do you stil get the reported problem in latest GTK+ 3.22? If so, does applying Ian's patch from the other bug resolve it?
Yup, same cause, and fixed in gtk-3-22. *** This bug has been marked as a duplicate of bug 776793 ***