-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix scroll to seek/change volume/playback rate changing too fast with touchpad #6666
base: development
Are you sure you want to change the base?
Fix scroll to seek/change volume/playback rate changing too fast with touchpad #6666
Conversation
it seems slow but that could be because im testing on a trackpad |
Feel free to change the 100ms values to something else to see how it feels |
I let the others chime into this one as i find it difficult to evaluate what a good speed for this is |
I rarely use trackpad not to mention scrolling |
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
Pull Request Type
Related issue
Closes #6539
Description
wheel
triggered N times more than mouse wheel with smaller delta values to have smooth scrollingThis PR throttles event handler on value change side only (prevent default/stop propagation still called all the time
Screenshots
With 100ms wait time, trackpad
Screen.Recording.2025-01-29.at.10.21.52.mp4
Testing
A) Those without trackpad
See #6539, test with mouse wheel ensure it works similar to/same as before
B) Those with trackpad
#6539
Desktop
Additional context
I tested 50ms wait and it seems too fast
(Too lazy to record that too