Quick fix to the bug where scrolling in one application is repeated in another when switching between them using
Alt+Tab
(e.g., VS Code and Chrome)
As an example, after scrolling VS Code and switching to Chrome using Alt+Tab
, Super+Tab
, Alt+Esc
, or overview (hot corner or Super
) + mouse click, the VS Code scroll would be repeated in Chrome. Installing the extension should avoid this.
GNOME 45+ supported!
This bug is described in several open issues:
- microsoft/vscode#28795 (most commented VS Code bug!)
- pop-os/pop#2331
- atom/atom#15482
- GitLab: GNOME/mutter#401
- Chromium: chromium#608246
- Chromium: chromium#807187
The extension can be found at the GNOME Extensions website: Alt+Tab Scroll Workaround. Just open the page, turn the extension on, and you're ready to go.
If, instead, you prefer to install it from this repository, follow the next steps.
Clone and enter the repository:
git clone https://github.com/lucasresck/gnome-shell-extension-alt-tab-scroll-workaround.git
cd gnome-shell-extension-alt-tab-scroll-workaround
Install the extension:
make install
Restart the GNOME Shell:
- Press
Alt+F2
; - Type
r
and pressEnter
.
At this point, the extension should be enabled. If not:
make enable
GNOME may also crashes if there are opened windows. If not sure, close the open windows before restarting the GNOME Shell.
GPLv3