AcademySoftwareFoundation / AcademySoftwareFoundation/xstudio
[macOS] Viewport pan/zoom permanently stops responding after middle-click inside the right-click context menu
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 773
- Forks
- 129
- Avg merge
- 9d 1m
- Merged PRs (30d)
- 10
Description
Describe the bug
On macOS, while in the viewport's Zoom or Pan interaction mode, opening the right-click context menu and then performing a middle-click-drag on top of that open menu permanently kills all further pointer interaction with the viewport (pan, zoom, click-drag). Only the F (Fit) hotkey still works afterward — no other mouse interaction with the viewport recovers, and no error is logged. The only way to restore functionality is to fully restart xStudio.
I cannot reproduce this on Windows following the exact same steps.
To Reproduce
- Load an image/clip into the viewer.
- Activate Zoom or Pan mode (toolbar toggle or hotkey) and confirm you can freely pan/zoom the image.
- Right-click on the viewport to open the context menu.
- While the context menu is open, middle-click and drag on/inside the menu (a real middle-mouse-button drag; also reproducible via a trackpad gesture, though less reliably).
- Dismiss the menu.
Expected behavior
The context menu closes normally and pan/zoom (or any other pointer interaction) continues to work on the viewport as before.
Screenshot
Desktop (please complete the following information):
- xStudio version: v1.3.0
- OS: macOS 26.6.2
- Qt: 6.5.3
- Input devices: reproduces with a real mouse (easiest/most reliable), and also reproduces with trackpad gestures (harder to trigger, but confirmed)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on macOS in the viewport while using Zoom or Pan mode, then trace pointer handling across the open right-click context menu and the viewport. Done means dismissing the menu leaves pan, zoom, click-drag, and other viewport mouse interactions responsive without restarting xStudio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100