Skip to content

Fix missing menu bar icon on macOS Tahoe 26.6.1 (25G76) - #14

Draft
jfleezy23 wants to merge 2 commits into
domzilla:masterfrom
jfleezy23:codex/fix-tahoe-menu-icon
Draft

Fix missing menu bar icon on macOS Tahoe 26.6.1 (25G76)#14
jfleezy23 wants to merge 2 commits into
domzilla:masterfrom
jfleezy23:codex/fix-tahoe-menu-icon

Conversation

@jfleezy23

@jfleezy23 jfleezy23 commented Aug 13, 2026

Copy link
Copy Markdown

Summary

  • switch the app to accessory activation policy before constructing the menu bar controller
  • configure the status item as a square, image-only button
  • document the Tahoe menu bar fix in the changelog

Root cause

On macOS Tahoe 26.6.1 (build 25G76), Caffeine launched and its preferences window appeared, but the status icon did not. Runtime inspection showed that the icon asset resolved and the status button was visible, while its scene-hosted status-bar window had zero height. The app created the status item while still using the regular activation policy and switched to accessory mode afterward.

The initialization order now establishes accessory mode before creating the status item, and the icon-only status button has explicit square geometry.

User impact

The cup icon appears in the menu bar again, restoring the primary control for enabling and disabling Caffeine.

Validation

  • swiftformat . with SwiftFormat 0.62.1 (no formatting changes)
  • Debug build and launch verification succeeded on macOS Tahoe 26.6.1 (build 25G76)
  • unsigned Release build succeeded with Xcode 26.6
  • installed Release build launched from /Applications/Caffeine.app and rendered the cup icon
  • active state produced a Caffeine-owned PreventUserIdleDisplaySleep assertion
  • inactive state removed the assertion immediately and it remained absent after 10 seconds
  • git diff --check

The Xcode scheme has no Test action, so xcodebuild test reports: Scheme Caffeine is not currently configured for the test action.

@jfleezy23 jfleezy23 changed the title Fix missing menu bar icon on macOS Tahoe Fix missing menu bar icon on macOS Tahoe 26.6.1 (25G76) Aug 13, 2026
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.

1 participant