-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Scrolling is laggy with high speed gaming mice #4997
Comments
See dweymouth/supersonic#418 for more details and a user-submitted screen capture |
I don't believe this can apply to all operating systems - the way they handle stepping and scrolling is very different. Please include at least the minimal info for it to be reproducible. In addition this seems to confuse two items - the refresh rate and the scroll speed. Scrolling is normally communicated through button presses, but the refresh rate of the mouse refers to the precision of the location on screen and speed of the move... |
From the user reporting the bug to Supersonic: OS: Arch Linux They are also using xwayland as far as I can tell since I don't think a Wayland build is packaged in Arch |
I'm having the same issue on windows 11, scrolling takes ages but I don't have lags while scrolling. I'm also using a 1000hz gaming mouse |
I guess it would be helpful to get specifics on hardware or replication setup. On my high polling device the scroll events do not vary with the setting of the refresh rate. |
Checklist
Describe the bug
When users use Fyne apps with high-speed gaming mice, e.g. 1000 Hz, the scrolling is very laggy and continues to process a backlog of scroll events after the user stops dragging the scroll bar.
A possible solution is to merge scroll events in the driver if they arrive too fast so they are added together and processed only once per frame with the combined delta of all the scroll events that were merged.
How to reproduce
Run any Fyne app with a scroll container using a mouse that reports very fast, say 1000 Hz
Screenshots
No response
Example code
fyne_demo
Fyne version
develop
Go compiler version
n/a
Operating system and version
all
Additional Information
No response
The text was updated successfully, but these errors were encountered: