AcademySoftwareFoundation / AcademySoftwareFoundation/xstudio

[macOS] Viewport pan/zoom permanently stops responding after middle-click inside the right-click context menu

Open
#341 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Load an image/clip into the viewer.
  2. Activate Zoom or Pan mode (toolbar toggle or hotkey) and confirm you can freely pan/zoom the image.
  3. Right-click on the viewport to open the context menu.
  4. 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).
  5. 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
Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.