flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
8.38k stars 293 forks source link

Inertial Touch Scrolling Not Disabled on Touchpad #1291

Open tunjan opened 1 week ago

tunjan commented 1 week ago

Inertial touch scrolling remains enabled when using a touchpad, despite being explicitly disabled in the settings. The issue does not occur when using a mouse; in that case, inertial scrolling is correctly disabled.

Steps to Reproduce:

Update to version 0.11.0.
Disable inertial touch scrolling in the application settings.
Test scrolling behaviour using a mouse (no inertial scrolling).
Test scrolling behaviour using a touchpad (inertial scrolling persists).

Expected Behaviour: Inertial scrolling should be disabled for both the mouse and touchpad when the setting is deactivated.

Actual Behaviour: Inertial scrolling remains enabled on the touchpad.

Kneemund commented 1 week ago

This is technically working as intended, but the wording of the option could be improved to reflect that it only applies to things like touchscreens and drawing tablets.

Internally, this option toggles the kinetic scrolling property of GTK4's ScrolledWindows. This only affects touch input (i.e. not emulated pointers like touchpads).

At a first glance, I can't find a way to disable kinetic scrolling for touchpads. Perhaps GTK4 doesn't offer a way to do that - at least GTK3 didn't.