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

Zoom mouse mode locks in when mouse pointer leaves the viewport #463

Open
fedorov opened this issue Oct 20, 2023 · 4 comments
Open

Zoom mouse mode locks in when mouse pointer leaves the viewport #463

fedorov opened this issue Oct 20, 2023 · 4 comments

Comments

@fedorov
Copy link

fedorov commented Oct 20, 2023

If I click right mouse button (zoom), and accidentally the mouse pointer leaves the viewport area while zoom mode is activated, zoom mode is locked, and remains active after I release the right mouse button.

2023-10-20_09-22-58

@PaulHax
Copy link
Collaborator

PaulHax commented Oct 20, 2023

Thanks for the report! I'm not reproducing this on Ubuntu with X Window System.

Looks like your browser is not getting events when your cursor is out of the browser window. When I hold mouse down, the view still zooms while mouse moves outside the browser window. Thats unlike your GIF. Tight security on your (Wayland?) windowing system or browser? Would be good to fix our input handling if that is the case.

I tried with these combos:

Steps taken:

  1. Load VolView
  2. Load CTA Head and Neck sample.
  3. Right mouse down in 2D view.
  4. Move mouse out of browser window.
  5. Right mouse up.
  6. Move mouse back into 2D view -> No zooming, view does not change == expected.

@fedorov
Copy link
Author

fedorov commented Oct 20, 2023

Sorry, I forgot to mention - I am on Mac Sonoma 14.0 (same problem on Ventura), Chrome 118.0.5993.70.

I don't think I changed any default security settings.

@fedorov
Copy link
Author

fedorov commented Oct 20, 2023

and remains active after I release the right mouse button.

Correction: until I click right mouse button in the viewport again.

@PaulHax
Copy link
Collaborator

PaulHax commented Oct 25, 2023

@floryst Is this a Mac thing?

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

2 participants