GNOME Bugzilla – Bug 664416
Turning a switch on/off in the menu of a system status icon hides it
Last modified: 2012-02-06 15:49:42 UTC
When turning a switch in a gnome-shell menu (eg. of the bluetooth status icon) on or off, the menu gets closed. This is a bit annoying because you have to reopen the menu, if you want to make further changes (which can be expected, when you're turning something _on_). Steps to Reproduce: 1) Click on the bluetooth status icon 2) Turn Bluetooth switch on The menu will close, so you will have to reopen it to make further changes
GTK+ gives you the choice by using either Enter to toggle and close the menu, or Space to toggle and keep the menu open. Might be worth doing the same in the shell menus ?
Created attachment 201806 [details] [review] PopupSwitchMenuItem: allow toggling without closing the menu Similar to what Gtk does, now toggling with Space does not close the menu.
Review of attachment 201806 [details] [review]: The notifications switch in userMenu.js has to be changed to connect to the toggled signal.
Created attachment 202993 [details] [review] PopupSwitchMenuItem: allow toggling without closing the menu Similar to what Gtk does, now toggling with Space does not close the menu. Rebased, and with the userMenu fix.
Review of attachment 202993 [details] [review]: Looks good.
Attachment 202993 [details] pushed as ee6bc33 - PopupSwitchMenuItem: allow toggling without closing the menu