Commit g6d47d33 made impossible to set zero for "Synaptics Scrolling Distance". This breaks documented API: according to manual page, to disable scrolling one must set value of VertScrollDelta/HorizScrollDelta to 0. But exactly this is not possible now.
What is worse, somehow I get HorizScrollDelta == 0 anyway (I do have disabled horizontal scrolling in mouse settings) so now I cannot change value of VertScrollDelta at all, e.g. to set natural scrolling:
bor@opensuse:~/src/xf86-input-synaptics> xinput list-props 12 | grep 'Scrolling Distance'
Synaptics Scrolling Distance (298): 100, 0
bor@opensuse:~/src/xf86-input-synaptics> xinput set-prop 12 298 -100 0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Value in failed request: 0x12a
Serial number of failed request: 19
Current serial number in output stream: 20
bor@opensuse:~/src/xf86-input-synaptics> rpm -q xf86-input-synaptics
(In reply to comment #0)
> What is worse, somehow I get HorizScrollDelta == 0 anyway
The SynapticsPrivate is initialized to zeroes so both horizontal and vertical scroll defaults to zero anyway. So what is the pint of not allowing it to be set to zero thereafter?
So how are we supposed to disable scrolling now after it was enabled?
We've introduced a separate toggle to enable/disable scrolling and the scrolling method a few years back. This allows leaving the default deltas in place (or calculating different values) independent from whether the scroll methods is enabled at that time or not.
"Synaptics Two-Finger Scrolling" takes 2 boolean values to enable/disable vertical and horizontal two-finger scrolling
"Synaptics Edge Scrolling" takes 3 boolean values to enable/disable vertical, horizontal and corner edge scrolling
not sure how you end up with a 0 scroll distance though, the default value is calculated based on the dimensions of the touchpad. Do you have that option set in your xorg.conf?
(In reply to comment #2)
> Do you have that
> option set in your xorg.conf?
Yes, as part of defaults installed by distro package.
weird. which distro sets this? please file bug with them to change it over, the 'new' options have existed for years.
documented now in git
Author: Peter Hutterer <firstname.lastname@example.org>
Date: Tue Feb 18 10:14:37 2014 +1000
man: setting scroll deltas to 0 doesn't work (#75074)