https://bugs.kde.org/show_bug.cgi?id=513879

            Bug ID: 513879
           Summary: KWin on Wayland ignores kcminputrc mouse input changes
                    unless external inotify watch exists
    Classification: Plasma
           Product: kwin
      Version First 6.5.4
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: input
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

KWin's file monitoring system fails to detect changes to ~/.config/kcminputrc
for mouse input device settings on Wayland. The System Settings GUI checkbox
for "Invert scroll direction" updates the config file but KWin never applies
the changes.

**Steps to Reproduce:**
1. Launch Plasma on Wayland
2. Open System Settings → Input Devices → Mouse
3. Toggle "Invert scroll direction" checkbox
4. Test mouse scroll wheel

**Actual Result:**
Scroll direction does not change. The setting is written to kcminputrc but KWin
ignores it. Persists across qdbus reconfigure, plasmashell restarts,
logout/login, and reboots.

**Expected Result:**
Scroll direction should change immediately when checkbox is toggled.

**Workaround That Reveals Bug:**
Terminal 1: tail -f ~/.config/kcminputrc
Terminal 2: systemsettings kcm_mouse
Now toggle the checkbox → IT WORKS

**Analysis:**
KWin's inotify watch on kcminputrc is not functioning. When tail -f creates an
external inotify watch on the same file, KWin's watch suddenly starts working.
This suggests the file monitor initialization is broken or has a race condition
specific to Wayland.

**System:**
Garuda Linux, Kernel 6.18.2-zen2
KDE Plasma 6.5.4, KWin Wayland
Mouse: HS6209 2.4G Wireless Receiver (affects all mice)

Triggered after restarting PipeWire/Wireplumber services.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to