Scrollable views have inertia even when scrolling with mouse wheel
Rather confusingly, the scrollable views in the settings menus, etc, will continue to scroll with inertia as if using a touchscreen. No other application does this with mouse wheel scrolls; so this usually has me overshoot my scroll, as it doesn't stop scrolling when I release the mouse wheel.
A demonstration:
https://github.com/user-attachments/assets/5bc1816d-a62c-4dbc-bc25-bac856781341
Notice the "jitter" at the end of my scroll action, when scrolling with inertia takes over. This should not happen when using scroll with mousewheel; only when dragging.
It's a tricky problem because we have to detect if its a mousewheel or touchpad manually, which is done by checking the delta basically, which on a touchpad/touchscreen is much more pixel-precise.
This may help b753c8840bc2370fbe97adede74d7641c5fe75db - if not then I'll have to dive deeper
Hi I'm getting the same I have the 0.6.2-3 on cachyOS which i think should have this fix. But I also have a sneaky feeling it might be because of my mouse? The isMouseWheel var looks like its getting pretty specific numbers (mod 120?) but I am using a Logitech g903, which has the logitech free scroll? which when "free" will smoothly scroll through. Is it possible that might cause issues? I think the free scroll just triggers a ratchet mechanism, in the mouse, so might not be getting the exact values for the isMouseWheel? (to be clear, i get the momentum when the ratchet is engaged, and when its also "free", though i only really use it with the ratchet engaged)
Try this c69a55df291a4a4bda82d96ae46ade6668590caa - i made changes for the detection that, is at least working for my scenario.
120 is the standard step, but I guess it breaks down for some high-res mouse wheels. QT lacks the ability for good detection of touchpads which makes it an annoying issue