After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751018 - Widget: GtkMenuButton+GtkPopover gtk_toggle_button_set_active() no longer hides visible popover
Widget: GtkMenuButton+GtkPopover gtk_toggle_button_set_active() no longer hid...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
3.17.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-06-15 21:04 UTC by Christian Hergert
Modified: 2015-06-15 23:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Hergert 2015-06-15 21:04:52 UTC
A while back, calling gtk_toggle_button_set_active() on a GtkMenuButton displaying a GtkPopover used to also hide the popover. This no longer seems to be the case.

We were relying on this in Builder.
Comment 1 Christian Hergert 2015-06-15 21:10:45 UTC
It looks like doing the following works, at least as a workaround (or perhaps preferred way to do things?)

gtk_widget_hide (GTK_WIDGET (gtk_menu_button_get_popover (button)));