Ubuntu – Scroll direction keeps changing after recent upgrade

mousemouse scrollscrolling

After a recent kernel upgrade, I started noticing an annoying issue: the "Natural scroll direction" changes every time I change the keyboard/mouse set on my laptop (Dell Inspiron 15). More specifically, I have one Logitech set at work and a different set (also Logitech) at home. It seems as though every time I switch peripherals the scroll direction is changed. I want the Natural Scrolling to be left by default and not arbitrarily switch to the 'regular' scrolling direction.

I believe this may have started after the update to the 5.4.0-52 64-bit kernel (Ubuntu 20.04 LTS, GNOME version 3.36.3). I should note that around the same time I purchased a new set of keyboard/mouse combination for home, though I did not notice the issue until the kernel update a few days later.

What is worse, the toggle button in the Settings > Mouse & Touchpad > Mouse > Natural Scrolling is NOT changed but the scrolling direction changes. That is, when I just change locations, the scrolling direction is 'regular' while the Natural Scrolling is turned on. To fix this, all I have to do is to toggle the button twice and then it comes back to my preferred scrolling direction.

Has anyone else experienced this issue? If so, any way you suggest to fix it without having to change the direction every time I change peripherals.

Best Answer

This issue is currently being tracked on the Pop!_OS github here: https://github.com/pop-os/gnome-control-center/issues/120

And on the GNOME/mutter gitlab here: https://gitlab.gnome.org/GNOME/mutter/-/issues/1505

Apologies for writing as an answer, but I can't comment currently.

The bug has been identified and a fix has been applied. The current planned release is Nov 21, but could possibly happen sooner. It appears to be backported to 3.36 and 3.38 as well.

Related Question