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

macOS scroll speed still not quite right #126

Open
falkTX opened this issue Oct 6, 2024 · 3 comments
Open

macOS scroll speed still not quite right #126

falkTX opened this issue Oct 6, 2024 · 3 comments

Comments

@falkTX
Copy link
Contributor

falkTX commented Oct 6, 2024

After getting a release out of Cardinal with f7b3fe4 in it, very soon after there came reports of scrolling now being too fast.
On this latest release I made it so the wheel/scroll is the same for all OSes.

See for the report
DISTRHO/Cardinal#712

I can reproduce locally, happens with a intel macbook trackpad, I think this is the 2020 model.

What did you use for your own testing?

@falkTX
Copy link
Contributor Author

falkTX commented Oct 6, 2024

I tested locally with a usb mouse and the same issue happens, though small wheel steps seem to behave correctly, only when scrolling a bit faster the "acceleration" makes the delta value go too high.

I can assume that is what you experienced and what your commit message refers to.

Issue is, and I can test with a trackpad, it is quite hard to make it move in very small steps and also very unintuitive.
We should see about a way to disable or reduce this acceleration, so it becomes consistent with other platforms.

@falkTX
Copy link
Contributor Author

falkTX commented Oct 6, 2024

After some testing with cardinal with both trackpad and usb mouse, this is what feels comfortable and usable, compared to windows and linux:

  double dx = -[event scrollingDeltaX] / 2.0;
  double dy = [event scrollingDeltaY] / 2.0;
  if ([event hasPreciseScrollingDeltas]) {
    dx /= 10.0;
    dy /= 10.0;
  }

@quantumech3
Copy link

Yeah maybe the speed can just be changed to that if you are on MacOS. Another idea that might be more complicated to implement would be to put in a scroll bar allowing the user to change the sensitivity to their liking. But I don't know how hard it would be to change the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants