macOS 26 window focus for restarting with a project file open

Open
#7,629 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, macos

Research direction

Start by reproducing the issue with a local or remote project file open, then use the “restart and re-open” command-palette action on macOS 26. Investigate the project initial-load path and compare native GPU rendering with a virtual machine. Done means focus can be restored normally after restarting and reopening a project.

Written by the indexing model from the issue text.

Description

Dependency: Qt UI: Projects

When using latest dev (and stable 5.2), if you open a file in a local (or remote) project on macOS 26, and use the "restart and re-open" command-palette action, it's possible to trigger a QT bug that causes focus to be completely lost and you can't regain it simply by doing ⌘-tab. You can get it back by using Expose (four finger swipe up on a trackpad).

We haven't identify under what circumstances this does or doesn't happen fully. Virtual machines so far do not exhibit the behavior, so it might even be related to having a native GPU rendering, but not sure.

The latest QT does not fix this.

It's possible we need to modify how projects work on initial load.

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Contributor guide

No contributing guide indexed for this repository

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.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.