Skip to content

Update macOS launcher to fix missing tray icon#1822

Merged
mkrnr merged 8 commits intomainfrom
fix-macos-icon
Mar 5, 2026
Merged

Update macOS launcher to fix missing tray icon#1822
mkrnr merged 8 commits intomainfrom
fix-macos-icon

Conversation

@mkrnr
Copy link
Contributor

@mkrnr mkrnr commented Feb 21, 2026

Summary of changes

Fixes the menu bar icon that was missing since macOS 26.0. This is done be re-writing the app launcher for macOS to directly start the Python process which helps macOS to understand that the Python process belongs to the original process.

Tested on M1 mac and intel mac.

Closes #1768

Pull Request Checklist

  • Changes have tests
  • News fragment added in news.d. See documentation for details

@mkrnr mkrnr changed the title Update macOS launcher to fix missing icon Update macOS launcher to fix missing tray icon Feb 26, 2026
@mkrnr mkrnr marked this pull request as ready for review February 26, 2026 19:59
@mkrnr mkrnr requested a review from a team February 26, 2026 19:59
@dnaq
Copy link

dnaq commented Feb 26, 2026

Is this really necessary (having a wrapper binary). Wouldn’t it be possible to have a python entrypoint instead (e.g. using pyinstaller)?

@mkrnr
Copy link
Contributor Author

mkrnr commented Feb 26, 2026

Is this really necessary (having a wrapper binary). Wouldn’t it be possible to have a python entrypoint instead (e.g. using pyinstaller)?

Last time I looked into alternatives like PyInstaller, they all seemed like they would not cover our use cases, especially being able to install packages via pip in our plugins manager. Either way, that would be a huge rewrite that I currently don't have the time for, especially when considering code signing and notarization. For now I just want to fix this menu bar issue.

@mkrnr mkrnr merged commit b2209b3 into main Mar 5, 2026
18 checks passed
@mkrnr mkrnr deleted the fix-macos-icon branch March 5, 2026 05:43
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

Successfully merging this pull request may close these issues.

Menu Bar Icon missing on macOS 26

2 participants