Skip to content

Studio: switch the macOS tray icon with system appearance - #10890

Closed
wasimysaid wants to merge 1 commit into
unslothai:mainfrom
wasimysaid:fix/macos-theme-aware-tray-icons
Closed

wasimysaid wants to merge 1 commit into
unslothai:mainfrom
wasimysaid:fix/macos-theme-aware-tray-icons

Conversation

@wasimysaid

Copy link
Copy Markdown
Collaborator

Summary

  • add separate 36×36 RGBA tray artwork for macOS light and dark appearances
  • initialize the tray from the main window's current system theme
  • listen for macOS ThemeChanged events and atomically swap the non-template tray image
  • preserve the existing full-color application tray icon on Windows and Linux

Verification

  • cargo test --manifest-path studio/src-tauri/Cargo.toml --no-fail-fast (539 passed locally)
  • verified both assets are 36×36 RGBA PNGs with transparency and the expected black/white pixel data
  • verified changed Rust blocks match rustfmt output
  • git diff --check

A Linux-hosted aarch64-apple-darwin cross-check reached the Objective-C dependency build, then stopped because the host has no Apple compiler/SDK. The repository's macOS Rust CI job provides the native platform compile/test coverage.

References

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T02:51:44.102806Z 8f867eb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants