Ctrl/Alt modifier gets stuck after deactivating Overview (regression in 46.rc)
Affected version
Fedora 40
gnome-shell-46~rc-1.fc40.x86_64.rpm # broken
mutter-46~rc-1.fc40.x86_64.rpm # broken
gnome-shell-46~beta-7.fc40.x86_64.rpm # working OK
mutter-46~beta-3.fc40.x86_64.rpm # working OK
Wayland affected, X11 not tested. Happens without extensions. Happens on bare metal only (but not in virtual machines).
Bug summary
I have the following configuration [1]:
org.gnome.shell.keybindings toggle-overview ['<Control><Alt>Tab']
In GNOME 45 (or 46 Beta), there were no issues. In GNOME 46 RC, very often the Ctrl
modifier key gets stuck after deactivating Overview, which means e.g. attempting to scroll a web page zooms it instead, clicking on a link opens it in a new tab instead, etc. I think Alt
gets stuck sometimes as well, but not that often.
[1] This is because my Logitech M720 mouse sends Ctrl+Alt+Tab
when its thumb button is pressed, so I configured GNOME to use the same key combo to activate/deactivate the Overview easily with a single mouse button press.
Steps to reproduce
gsettings set org.gnome.shell.keybindings toggle-overview "['<Control><Alt>Tab']"
- Open a Firefox window with some scrollable webpage
- Use
Ctrl+Alt+Tab
to activate Overview - Move to a different workspace and back, e.g. with mouse wheel or PgDn/PgUp (this is important - doesn't happen otherwise)
- Use
Ctrl+Alt+Tab
to deactivate Overview (this is important - mouse click to pick a window and deactivate Overview doesn't cause the bug) - Use the mouse wheel to scroll the webpage. But it zooms instead! (
Ctrl
is stuck) - Press
Ctrl
. It gets unstuck. Now the mouse wheel scrolls the webpage as expected. - Repeat steps 3-7 several times (it might not happen every time, perhaps it is related to an exact timing of how you release the key combo. In my case - a dedicated mouse button sending the key combo together - it happens every time).
What happened
Ctrl
(and perhaps sometimes Alt
) key gets stuck
What did you expect to happen
Modifier keys shouldn't get stuck, as with GNOME 45