mac-mouse-fix icon indicating copy to clipboard operation
mac-mouse-fix copied to clipboard

Scrolling is not smooth with external displays [enhancement]

Open neel04 opened this issue 1 year ago • 2 comments
trafficstars

Description

When using higher refresh monitors (I'm using a 1440p @ 165Hz monitor) the scrolling isn't smooth/seems to be locked at 60 fps. This is evident when you do scrolling through other means (such as page up/down key) and see how smooth the scrolling is there.

Rationale

Smooth scrolling feels nice, and a paid product whose entire existence relies on smooth scrolling deserves this feature :]

Additional info

neel04 avatar Jul 07 '24 15:07 neel04

What is your means of testing this? I don't seem to have any framerate/smoothness issues when scrolling.

Testing on the Mac Mouse Fix home page on Chrome with Frame Rendering Stats enabled, scrolling the page seems to render at my display's refresh rate (170 Hz). image

When I move the window to my lower refresh rate display, it renders at the same FPS as the refresh rate (60 Hz). image

And on the MacBook's display: image

Pikachews avatar Jul 09 '24 05:07 Pikachews

I don't have a quantitative way of measuring this unfortunately - but its highly visible. I think the problem is that somehow, the scrolling happens in discrete chunks rather than a smooth continous curve.

If I turn the smoothness down (from High -> Off) then the scrolling happens very smoothly, counterintuitively.

Its as if with High smoothness, the interpolation itself isn't very continous - it feels discrete. Whereas switching smoothness to Off and relying on macOS to handle it feels very smooth, but lacks the scrolling inertia I'm used to.

neel04 avatar Jul 09 '24 13:07 neel04

Is this better under 3.0.3?

It should fix a bug in the code for changing the refresh rate of the scroll animations when using multlple displays.

noah-nuebling avatar Sep 21 '24 19:09 noah-nuebling

Just updated - that is so much better. Thank you so much! 🔥

neel04 avatar Sep 21 '24 19:09 neel04