Bug 426174 - invert scroll direction shows as enabled but is not actually working upon rebooting
Summary: invert scroll direction shows as enabled but is not actually working upon reb...
Status: RESOLVED DUPLICATE of bug 435113
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 5.19.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks: 452915
  Show dependency treegraph
 
Reported: 2020-09-04 08:33 UTC by Aurelien Navarre
Modified: 2022-10-26 16:22 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Invert scroll direction setting (15.03 KB, image/png)
2020-09-04 08:33 UTC, Aurelien Navarre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Navarre 2020-09-04 08:33:53 UTC
Created attachment 131413 [details]
Invert scroll direction setting

SUMMARY

On OpenSuse Tumbleweed, toggling the "Invert scroll direction" option works great until you reboot. Then, the option shows as correctly enabled but won't actually work until you disable/re-enable the setting.

Reboot. Rinse. Repeat.

STEPS TO REPRODUCE
1. Enable "Invert scroll direction"
2. Confirm it works fine
3. Reboot
4. Confirm it no longer works
5. Disable/Re-enable "Invert scroll direction"
6. Confirm it works again

OBSERVED RESULT

Upon rebooting, "Invert scroll direction" no longer works.

EXPECTED RESULT

The "Invert scroll direction" option should work the same across reboots.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSuse Tumbleweed
(available in About System)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

N/A
Comment 1 David Edmundson 2020-09-04 08:38:25 UTC
X or wayland?

Can I have output of sudo libinput list-devices
Comment 2 Aurelien Navarre 2020-09-04 08:58:05 UTC
Sure!

$ echo $XDG_SESSION_TYPE
x11

$ sudo libinput list-devices
[sudo] password for root: 
sudo: libinput: command not found

I see there's a package that might give you the information that you need, want me to install it or not having it could be related to having the issue to begin with?

libinput-tools => Utilities to display libinput configuration
Comment 3 Aurelien Navarre 2020-09-04 09:02:47 UTC
I figured I should just install and it did the trick

$ sudo libinput list-devices
Device:           Power Button
Kernel:           /dev/input/event7
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Video Bus
Kernel:           /dev/input/event3
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event5
Group:            3
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event6
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Logitech Wireless Mouse M560
Kernel:           /dev/input/event22
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Yubico Yubikey 4 OTP+U2F+CCID
Kernel:           /dev/input/event4
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Logitech MX Keys
Kernel:           /dev/input/event23
Group:            7
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           Microsoft® LifeCam Cinema(TM):
Kernel:           /dev/input/event15
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Integrated Camera: Integrated C
Kernel:           /dev/input/event14
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event0
Group:            10
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           ThinkPad Extra Buttons
Kernel:           /dev/input/event8
Group:            11
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Synaptics tm2962-001
Kernel:           /dev/input/event20
Group:            12
Seat:             seat0, default
Size:             97x67mm
Capabilities:     pointer gesture
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    *button-areas clickfinger 
Disable-w-typing: enabled
Accel profiles:   flat *adaptive
Rotation:         n/a

Device:           TPPS/2 IBM TrackPoint
Kernel:           /dev/input/event21
Group:            13
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   *button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a
Comment 4 David Edmundson 2020-09-04 09:56:15 UTC
>Nat.scrolling:    disabled

Well, that matches up with what you're seeing.

After you reboot is it also showing up as disabled?
Comment 5 Aurelien Navarre 2020-09-04 10:11:50 UTC
Before rebooting - Natural scrolling works fine.

sudo libinput list-devices | grep -A16 "Logitech Wireless Mouse M560"
Device:           Logitech Wireless Mouse M560
Kernel:           /dev/input/event22
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

After rebooting - Natural scrolling no longer works

$ sudo libinput list-devices | grep -A16 "Logitech Wireless Mouse M560"
[sudo] password for root: 
Device:           Logitech Wireless Mouse M560
Kernel:           /dev/input/event23
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

After fixing the issue with natural scrolling

$ sudo libinput list-devices | grep -A16 "Logitech Wireless Mouse M560"
Device:           Logitech Wireless Mouse M560
Kernel:           /dev/input/event23
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a
Comment 6 David Edmundson 2020-09-04 10:24:15 UTC
That's not what I expected.
Comment 7 Aurelien Navarre 2020-09-04 10:29:25 UTC
Me neither. I fight to see how natural scrolling could be working when the setting is never ever detected as enabled.
Comment 8 Aurelien Navarre 2020-09-06 09:05:55 UTC
FYI yesterday I installed Manjaro and observed the same exact behavior happens except natural scrolling keeps working across reboots.

$ sudo libinput list-devices | grep -A16 "Logitech Wireless Mouse M560"
[sudo] password for anavarre: 
Device:           Logitech Wireless Mouse M560
Kernel:           /dev/input/event24
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a
Comment 9 Jeffrey Bouter 2021-06-08 15:39:37 UTC
I just updated to plasma 5.22 and opted to start using Wayland. Natural Scrolling works fine on touchpads, but Invert Scroll Direction doesn't work for mice (I've tested on two different devices). The only difference for me, compared to the initial bug report, is that it actually never works. Not when selecting the option, and not on reboot.
Comment 10 Domício 2022-07-25 17:52:12 UTC
Same problem here but using a trackball which is detected as a mouse, I have to reapply the settings every time I reboot. The natural scrolling is checked in the settings, but it doesn't work. The way to fix is to uncheck, apply, check again, and apply:

Device:           Power Button
Kernel:           /dev/input/event1
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event0
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Topre REALFORCE 87 US
Kernel:           /dev/input/event15
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Topre REALFORCE 87 US Consumer Control
Kernel:           /dev/input/event16
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Topre REALFORCE 87 US Keyboard
Kernel:           /dev/input/event17
Group:            3
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Kensington Expert Wireless TB Mouse
Kernel:           /dev/input/event18
Group:            4
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive
Rotation:         0.0

Device:           Kensington Expert Wireless TB Consumer Control
Kernel:           /dev/input/event19
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a
Comment 11 Øyvind Rasmussen 2022-07-27 16:04:50 UTC
Not sure if I should register it as a new bug, but I'm having a very similar issue. So similar I believe it is the same issue, but I'd be happy to make a new bug if that is preferred!

I've tried on Solus, Fedora, Rocky Linux 8.6 and Arch - all using KDE Plasma. I don't have any issues with reboot, but every single update to KDE resets my natural scrolling. It's starts immediately after the update is installed, no reboot or anything required. I've had the issue for many versions of Plasma, for a year at least, but right now I am having the issue with todays update on Arch "plasma-workspace-5.25.3.1-2".

Like everyone else, when enabled and working, "sudo libinput list-devices" shows "Nat.scrolling:    disabled"

After every single update on every distro i mentioned, I must go back into settings, disable the natural scrolling, and then re-enable again after every update to Plasma. I've had the same issue on two different HP laptops, a Lenovo laptop and a Dell laptop.

While I use KDE Neon quite a bit, I only have it running on machines without a touchpad, so I do not know if it is the same here, but I'm at least pretty sure it is not distro specific anymore.

System info:
Operating System: Arch Linux
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.14-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: HP
Product Name: HP EliteBook 840 G6
Comment 12 Milan Knížek 2022-08-01 18:44:23 UTC
Similar behaviour here - Kubuntu 22.04.

Natural scrolling works when I enable it and it is also kept after reboot as long as the USB wireless dongle remains plugged in.

However, if I plug in the USB wireless dongle for the mouse after the computer is up & running, the option "Invert scroll direction" is not applied to it despite the fact that the option remains "enabled" in SystemSettings // Input Devices // Mouse. 

The same problems happens for the "known" (previously used) and also for a new USB Wireless mouse.

Disabling and re-enabling the option "Invert scroll direction" resolves the problem.
Comment 13 Günter Dressel 2022-08-08 07:09:20 UTC
I can confirm this issue hits me since upgrading to Kubutnu 22.04 too - especially und Laptops, since I have to reset the scrolling direction after each wake-up from standby.  
It doesn't matter which mouse is connected.
While on Kubuntu 20.04 I haven't had this issue.
Comment 14 Günter Dressel 2022-08-08 07:13:26 UTC
Is bug 395722 related?
Comment 15 Daniel Jay Haskin 2022-08-08 18:04:41 UTC
I also can confirm.

Below is my `os-release` information.

I worked around this by running `sudo ln -s /usr/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf` per this article: 

https://wiki.archlinux.org/title/Libinput#Via_Xorg_configuration_file


```
➜  ~  cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
➜  ~  uname -a
Linux danielhaskin-LNX 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
```

I use X11 because I need Zoom. I don't know how this might be fixed on Wayland but that article did mention Wayland.
Comment 16 Nate Graham 2022-08-10 17:42:45 UTC

*** This bug has been marked as a duplicate of bug 435113 ***
Comment 17 ivangum 2022-10-26 16:20:52 UTC
It also un-applies the "invert mouse scroll" after coming back from sleep mode.
Comment 18 ivangum 2022-10-26 16:22:46 UTC
(In reply to Günter Dressel from comment #13)
> I can confirm this issue hits me since upgrading to Kubutnu 22.04 too -
> especially und Laptops, since I have to reset the scrolling direction after
> each wake-up from standby.  
> It doesn't matter which mouse is connected.
> While on Kubuntu 20.04 I haven't had this issue.

I have the same problem. I have to un-check "invert mouse scroll" then apply, then check it back again, then apply. Very annoying.