Bug 512992 - Changing scroll speed affects discrete scroll amount on free spinning mice with a lock feature.
Summary: Changing scroll speed affects discrete scroll amount on free spinning mice wi...
Status: RESOLVED DUPLICATE of bug 470746
Alias: None
Product: kwin
Classification: Plasma
Component: libinput (other bugs)
Version First Reported In: 6.5.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-05 20:35 UTC by Byron
Modified: 2025-12-08 19:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Byron 2025-12-05 20:35:18 UTC
SUMMARY
After updating KDE Plasma recently, I noticed that when I scroll in some games an individual scroll would be counted twice. When I decreased the scroll speed some scrolls would instead be skipped. After a bit of testing with `wev` I noticed that occasionally the discrete value for a single scroll would be more than 1 if the scroll speed was high, or the scroll event would be skipped entirely if the scroll speed was low.

STEPS TO REPRODUCE
1. Get a mouse like the Logitech G502 with a free spinning wheel with a toggle-able lock
2. Lock the scroll to discrete notches
3. Run `wev` or other application that relies on discrete scroll and observe the abnormal scroll events.

OBSERVED RESULT
Discrete scroll in applications running under kwin does not align with actual individual discrete scroll, and is either higher or lower than expected depending on scroll speed setting.

EXPECTED RESULT
Discrete scroll should not be affected by scroll speed.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.17.9-200 (Nobara 43)
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
Comment 1 Zamundaaa 2025-12-08 19:38:58 UTC

*** This bug has been marked as a duplicate of bug 470746 ***