GNOME Bugzilla – Bug 783145
GtkExpander collapses unintendedly
Last modified: 2017-08-25 00:55:06 UTC
Created attachment 352684 [details] Example code. In the attached example, GtkExpander collapses unintendedly after clicking into GtkEntry. Steps to reproduce this: 1) Compile with: gcc expander.c -o expander `pkg-config --cflags --libs gtk+-3.0` 2) Start program. 3) Mouse click into the entry field. What happens: The moment I click into the entry box the expander collapses. Expected behavior: Expander should not collapse. Tested with: Gtk+ 3.22.11 (Ubuntu 17.04) Notes: Only the very first click into the entry box triggers the closing of the expander. Afterwards expander and entry box work as expected.
I cannot reproduce this (with 3.22.17 on Debian unstable) Does this still occur for you? If so, please can you provide any other info you think might be relevant? e.g. whether you are using X11 or Wayland as compositor, chiefly
Now I've compiled and linked it with 3.22.17 but the behavior is still the same. I'm using Xorg: $ echo $XDG_SESSION_TYPE x11 $ loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p Type Type=x11 But then I noticed that the binary is linked against following wayland libs: libwayland-cursor.so.0 libwayland-egl.so.1 libwayland-client.so.0 Is this correct?
I'm pretty sure this is a duplicate of the following. See there for a link to another fix I just pushed for a problem with Expander - i.e. a collapsed child still receiving GDK input - and a request if you can test with that patch and confirm whether it makes any difference. If not, we can figure it out there. *** This bug has been marked as a duplicate of bug 774134 ***