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

Open
CendioHalim opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@CendioHalim
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant