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

Consistently emit extra mouse motion events #3601

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

madsmtm
Copy link
Member

@madsmtm madsmtm commented Mar 21, 2024

In particular, we don't want to emit those events inside of pressureChangeWithEvent:, since the mouse motion value is sometimes outdated.

Additionally, we want to ensure the events have been emitted during other gestures.

Fixes #3516.

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality
  • Updated feature matrix, if new features were added or implemented

In particular, we don't want to emit those events inside of
`pressureChangeWithEvent:`, since the mouse motion value is sometimes
outdated.

Additionally, we want to ensure the events have been emitted during
other gestures.

Fixes #3516
@madsmtm madsmtm force-pushed the madsmtm/fix-trackpad-drag-mouse-motion branch from cdce8d5 to 6c9cdfc Compare March 22, 2024 07:39
Copy link
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we make much guarantees, but that should be fine.

@madsmtm madsmtm merged commit 63a7c02 into master Mar 28, 2024
52 checks passed
@madsmtm madsmtm deleted the madsmtm/fix-trackpad-drag-mouse-motion branch March 28, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B - bug Dang, that shouldn't have happened DS - macos
Development

Successfully merging this pull request may close these issues.

Sequence of mouse movements seems out of order when using trackpad on macOS
2 participants