Visualy scrolling commonly works fine on my system, no matter in which application and whether I use the mouse or the touchpad. However, the touchpad scrolling (2-finger scroll) has an annoying issue: Whenever I move my 2 fingers too fastly (e.g. from top to bottom of trackpad to bottom of trackpad within ~200ms), it has the effect that the focused window scrolls only a tiny bit, and in a jerky fashion.
Has anyone observed this issue (I couldn’t find anything, even after several web researches), and/or can suggest a libinput configuration that might fix this?
Try switching temporarily to xf86-input-synaptics (services.xserver.synaptics.enable) to see if the problem is exclusively with libinput. If not, it may be your touchpad driver.
Thanks a lot for the suggestion @rnhmjoj. I finally managed to try synaptics, but it performs even more jerky (perhaps because it’s not configured sensitively enough).
Is there a way to print debug statements both from the touchpad driver and from libinput while scrolling, to see what is actually detected? (similar to xev or so)
No idea. Did the problem appear recently? In that case it may be easier to bisect Nixpkgs than to wade through the stack of libraries between the kernel and chromium.
The issue is also present in some other GUI applications (e.g. VSCode), but not in others (e.g. Thunar, Urxvt, Firefox). It’s also independent of the WindowManager (e.g. I tried in KDE and observe the same problem with VSCode and Chrome).
It’s just so weird that no-one else seems to suffer from this problem…