Skip to content
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

Scroll acceleration logic causes scrolling to "jump" suddenly on MacOS #5067

Closed
2 tasks done
dweymouth opened this issue Aug 12, 2024 · 1 comment
Closed
2 tasks done
Labels
OS:macOS Tickets affecting only macOS

Comments

@dweymouth
Copy link
Contributor

dweymouth commented Aug 12, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

The Fyne scroll accelerate logic - where scrolling above a certain input speed has a multiplicative factor applied to it to create an accelerated scrolling rate, causes poor UX with scrolling where it suddenly "jumps" to a faster scroll rate leading to a perception of "unsmoothness".

See github.com/dweymouth/supersonic/issues/418

A potential solution would be to apply a smooth function to gradually increase effective scroll rate based on input scroll rate, or disable the scroll accelerate logic for MacOS if the OS already handles it at the driver level.

How to reproduce

Run fyne demo - scroll the grid wrap at varying speeds

Screenshots

No response

Example code

fyne demo

Fyne version

develop

Go compiler version

n/a

Operating system and version

MacOS

Additional Information

No response

@dweymouth dweymouth added OS:macOS Tickets affecting only macOS unverified A bug that has been reported but not verified and removed unverified A bug that has been reported but not verified labels Aug 12, 2024
@dweymouth
Copy link
Contributor Author

A little testing suggests that scroll acceleration may not be needed at all on MacOS since the OS seems to apply its own scroll acceleration curve already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS:macOS Tickets affecting only macOS
Projects
None yet
Development

No branches or pull requests

1 participant