Accessibility status/top-bar menu closes when toggle-switch is clicked with the mouse.
Affected version
- Fedora 32 (Workstation Edition)
- 64-bit
- GNOME 3.36.6
- Wayland (Xorg not tested)
Bug summary
Using the mouse to toggle on/off the switches in the top-bar accessibility popup menu closes the menu. This was previously fixed by PopupSwitchMenuItem: allow toggling without closing the menu, which allowed pressing the space-key to toggle-without-closing, while the return-key toggles-and-closes; the mouse-click events now match the space-key behaviour.
Steps to reproduce
- Enable an accessibility feature, or toggle 'Always Show Universal Access Menu' to on.
- Click on the top-bar accessibility icon to open the menu.
- Toggle on or off any of the accessibility features.
What happened
The menu closes when a toggle-switch is clicked with the mouse.
What did you expect to happen
The menu was expected to remain open, as the top-bar calendar does when the Do Not Disturb toggle-switch is set to on or off.
Relevant logs, screenshots, screencasts etc.
See the attached screencast below. Screencast_from_2020-09-28_11_13_16_PM
A fix is proposed in merge-request !1450.