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

Incorrect mouse button events are sent for "unsupported" mouse buttons #1920

Closed
CendioHalim opened this issue Nov 28, 2024 · 1 comment
Closed
Labels
Milestone

Comments

@CendioHalim
Copy link
Contributor

Describe the bug
Using an unsupported mouse button, such as forward/back, can sometimes send an incorrect mouse event to the server. This only happens on chromium and safari.

On chromium, back will trigger button number 3 (scroll up), and forward will trigger button number 4 (scroll down).

On safari, it seems like any "extra" button will return button number 2, which is the same as a middle mouse click.

To reproduce
With chromium:

  1. Connect to a server & open an app that listens for scroll events
  2. Press back/forward on your mouse
  3. Button press will trigger a scroll up/down.

With safari:

  1. Connect to a server & open an app that listens for middle mouse buttons.
  2. Press back/forward on your mouse.
  3. Button press will trigger a middle mouse button click.

Expected behavior
Pressing forward/back should not trigger incorrect mouse button events.

@samhed
Copy link
Member

samhed commented Jan 20, 2025

This was fixed as part of merging #1919.

@samhed samhed closed this as completed Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants