GNOME Bugzilla – Bug 727994
Gtk Popover closes on click
Last modified: 2014-05-19 12:00:12 UTC
In every Popover in my desktop, clicking in a widget inside a popover does close it while performing an action (for example clicking a button or even clicking on insensitive widgets). I'm using Ubuntu Trusty with the elementary-testing PPA (that comes with Gtk+-3.12.0) If you need any other information, fell free to ask me. This bug is also liked to this one on our bug tracker: https://bugs.launchpad.net/maya/+bug/1300567 (a little video is showing the problem)
Not happening with the popovers I have access to for testing. A small usecase would be fantastic here. A few guesses: - are you stopping propagation of events after you've handled them ?
This usually happens when clicking on a GtkSwitch packed into a GtkPopover, or when clicking any insensitive child widget (so far I've only tested GtkScale and GtkComboBox). FWIW the popovers are set to modal=true, and we use GtkMenuButton to show them.
The following fix has been pushed: cacccf7 popover: Check for uncaught button events from children
Created attachment 276764 [details] [review] popover: Check for uncaught button events from children And deal correctly with those as a click within the popover.