Pressing esc while a dropdown menu is expanding keeps the menu open.
Affected version
OS: Arch Linux. Desktop: GNOME 45.3 - Wayland & X11. Can happen without extensions.
Bug summary
If you open the drop-down menu on the top right of the GNOME desktop that shows power, lock, settings, brightness, etc, then click on an arrow that expands the Bluetooth, power mode, output audio device, or background applications, then quickly press the escape key on the keyboard while the expansion animation is playing, the menu will not close, the parent menu will not be dimmed, buttons on the parent panel are selectable, and other drop-down menus can be opened and push graphical elements outside of the parent menu's borders. The only way to undo this is to select the same arrow of the element you glitched, then close it normally.
Steps to reproduce
- Open the top-right drop-down menu in the GNOME interface.
- Click on an arrow from Bluetooh, power mode, or background applications.
- Press the esc key as the drop-down menu's animation expands. (I'd estimate 50-250ms after you click. It's not tight timing.)
- If the parent menu isn't darkened and you can click on other buttons, the bug has been triggered.
What happened
Even though the esc key was pressed, the menu remained opened and other elements can be selected.
What did you expect to happen
The drop-down menu should have closed or the escape key should have done nothing.