Skip to content

Keep what a wheel message leaves over - #834

Merged
SimonCropp merged 1 commit into
mainfrom
fix-subnotch-scroll
Aug 23, 2026
Merged

Keep what a wheel message leaves over#834
SimonCropp merged 1 commit into
mainfrom
fix-subnotch-scroll

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

The canvas divided each wheel message by 120 and dropped the remainder. A wheel
click sends exactly 120 so that worked, but a precision touchpad sends a fraction of
one per message - ten to sixty for ordinary two finger movement - and every one of
those divided to zero. So scrolling the panes with a touchpad did nothing at all,
while the docked scrollbar beside them worked, that one accumulating internally.

WheelNotches keeps the remainder between messages, and is its own type for the
reason QueueTips is: the thing that matters is an accumulation across messages, and
that can be tested where a window cannot.

The Windows head only. The same fault is in the Mac and Linux heads, in
native/swift and native/src, and fixing those means rebuilding and committing the
binaries, which is a change of its own.

The canvas divided each wheel message by 120 and dropped the remainder. A wheel
click sends exactly 120 so that worked, but a precision touchpad sends a fraction of
one per message - ten to sixty for ordinary two finger movement - and every one of
those divided to zero. So scrolling the panes with a touchpad did nothing at all,
while the docked scrollbar beside them worked, that one accumulating internally.

WheelNotches keeps the remainder between messages, and is its own type for the
reason QueueTips is: the thing that matters is an accumulation across messages, and
that can be tested where a window cannot.

The Windows head only. The same fault is in the Mac and Linux heads, in
native/swift and native/src, and fixing those means rebuilding and committing the
binaries, which is a change of its own.
@SimonCropp
SimonCropp merged commit 2d7582c into main Aug 23, 2026
9 checks passed
@SimonCropp
SimonCropp deleted the fix-subnotch-scroll branch August 23, 2026 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant