fix: scroll wheel lag and missing horizontal scroll on Windows#156
Open
stefanverleysen wants to merge 2 commits intosymless:masterfrom
Open
fix: scroll wheel lag and missing horizontal scroll on Windows#156stefanverleysen wants to merge 2 commits intosymless:masterfrom
stefanverleysen wants to merge 2 commits intosymless:masterfrom
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Scroll events blocked on a synchronous round-trip to the desktop thread per tick. Smooth-scroll mice (100+ events/sec) caused cascading lag that froze the client. Additionally, horizontal scroll (WM_MOUSEHWHEEL) was never captured. - Add scroll event compression in ServerProxy (accumulate deltas when stream has buffered data, same pattern as mouse move compression) - Make fakeMouseWheel non-blocking (fire-and-forget to desktop thread) - Capture WM_MOUSEHWHEEL in LL hook, inject via MOUSEEVENTF_HWHEEL Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
|
I think I might also be seeing this (Linux server), I'll test to see if this fixes it. Edit: Though the horizontal scroll was fixed upstream (deskflow/deskflow#9438) I'm not sure about the scroll skipping bug. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
causing cascading input lag that freezes the client
Changes
To test
or horizontally-scrollable page -- should scroll horizontally