Vector35 / Vector35/binaryninja-api
Context menus sometimes open on the wrong screen
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
Describe the bug
In rare cases, Qt will lose track of which screen the cursor/window is on and will start showing context menus on the primary display. They seem to always appear in the bottom corner and are still functional, just positioned stupidly.
To Reproduce
Unsure. You definitely need two displays. I've seen this happen after leaving binja open overnight while sleeping my laptop.
Expected behavior
The context menu shows under the cursor or button opening it.
Version and Platform (required):
- Binary Ninja: Dev 2.4.2967-dev
- OS: macOS
- Version 10.15.7
Additional context
I have a Macbook with a 2x dpi screen and a 1x dpi external monitor connected
Contributor guide
No contributing guide indexed for this repository
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 with a MacBook display and a 1x external monitor, including after sleep and wake; no source file or test is named. Confirm that context menus appear under the cursor or activating button rather than in the primary display's corner.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100