Bug 426680

Summary: evdev driver: Cannot set mouse pointer acceleration to 0
Product: [Applications] systemsettings Reporter: Alexander Potashev <aspotashev>
Component: kcm_mouseAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.17.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Potashev 2020-09-18 10:42:22 UTC
SUMMARY
Cannot set mouse pointer acceleration to 0.0x, minimum is 0.1x.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-09-18 21:27:51 UTC
How are you trying to set it to zero?
Comment 2 Alexander Potashev 2020-09-19 11:59:47 UTC
(In reply to Nate Graham from comment #1)
> How are you trying to set it to zero?

There is a "pointer acceleration" spinbox in Mouse KCM in Plasma 5.17.x, see            plasma-desktop/kcms/mouse/kcm/xlib/kcmmouse.ui:

<property name="minimum">
            <double>0.100000000000000</double>
           </property>

---

However I can't find the same control in Plasma 5.18.5, the mouse KCM looks different. Is kcmmouse.ui obsolete?
Comment 3 Nate Graham 2020-09-21 15:05:49 UTC
Technically there are two Mouse configuration UIs:
- One for the old evdev driver which is written using QWidgets with .ui files
- One for the new libinput driver, which is written in QML

The one you see depends on which driver is installed.

Regardless, the bug you describe seems pretty easy to fix: Replace

double>0.100000000000000</double>

with

double>0.0</double>

I don't use the evdev driver so I can't tell yo whether this is an invalid value or might cause other issues. However if you use that driver and this works for you, please feel free to send a Merge Request implementing that change!
Comment 4 Nate Graham 2024-03-25 01:40:33 UTC
Hello! This Bugzilla ticket concerns support for the non-Libinput version of the Mouse page, which is no longer supported in Plasma 6. As such, the ticket will be closed as fixing or implementing what's requested here is now out of scope.

Thanks for your understanding!