More odd scroll jumping behavior

Describe the bug
When scrolling with a regular mouse scroll wheel, if you scroll in one direction, then immediately scroll in the opposite direction, there’s a large jump in scroll position.

This is extremely similar to this bug from a little while ago that I reported.


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.)

Regular mouse


Screenshots

When scrolling in the opposite direction immediately after scrolling the other way, there is a large jump. All of the scrolling in this video is done with the same velocity on my mouse wheel. The jump does not happen when the initial scroll has time to fully stop its motion, only when it is still in progress.


Device information

    • Type of Mac: MacBook Pro 16-inch, Nov 2024
    • macOS version: 26.5
    • BetterTouchTool version: 6.538 and newer

Additional information (e.g. crash logs, related issues, etc.)

I just got a notification to update today, ran the update, and immediately noticed the issue. I went back through all the recent releases and found that the bug started in 6.538 (6.537 in unaffected, so I'm staying on that version for now).

I've tried what was mentioned in the bug thread listed above and removed all my modifiers and started from scratch, but that did not fix the issue.

Mhh weird, this time the smooth scrolling modifier has been tested extensively with lots of mice and configurations and I haven't seen or gotten any similar behavior reported.

I wonder whether it is some specific setting, but I'm not sure what it could be if you really deleted your modifiers.

Is the issue happening with the smooth scroll modifier alone, or only if combined with others?

It seems to happen when smooth scrolling is combined with distance per tick. Here are my settings:

I was playing around with the slow wheel response and slow tick distance settings and can actually get the same buggy behavior just by boosting those (without the distance per tick modifier on):

@Andreas_Hegenberg any further thoughts on this?

Unfortunately I still haven't been able to reproduce the issue here, however I added some more safe guards in the newer releases from the last few days.

Based on your reply, I updated to the latest (6.605) from 6.537 and it seems to have been fixed. I went back and tested all the releases in between the troublesome version and the newest and found that whatever was done in the 6.598 release was the fix (6.596 still had the issue).

Of note, the scroll is definitely smoother in these newer versions than previously. It might be a bit slower with the same configurations, but it just feels smoother. I even went back to 6.537 to test that I wasn't imagining it and it's definitely different.

Anyway, thanks for doing whatever it was you did because it worked!

ah that's great!

There definitely has been some work in making it smoother, and while doing that I guess I forgot some edge cases in the algorithm that became visible when feeding large values for some parameters into it. I'm not sure why I wasn't able to reproduce it, but I hope to have patched / safeguarded all possible branches now.