Skip to content

Menubar app: NSStatusItem created but never rendered on macOS 26.4 (Tahoe) #146

@SirGrzegorz

Description

@SirGrzegorz

Problem

On macOS 26.4.1 (Tahoe, BuildVersion 25E253, Apple Silicon), the menubar app launches and runs, but the status item is never visible in the menu bar — no flame icon, no cost text. Tried v0.8.9 (installed today) and v0.8.8; same behavior in both.

The CLI (codeburn) works perfectly and reports correct cost data ($363.80 today, $1298.85 month for Claude Code), so data ingestion is fine.

What I've verified

  • App process runs (e.g. PID confirmed via ps aux)
  • Info.plist has LSUIElement=true, LSMinimumSystemVersion=14.0
  • Ad-hoc code signature is intact
  • No quarantine attribute
  • No crash logs in ~/Library/Logs/DiagnosticReports/
  • No errors/warnings in log show --process CodeBurnMenubar
  • sample on the running process confirms NSStatusItem -> NSStatusBarButtonCell drawWithFrame:inView: is actually called — the draw path executes
  • System logs confirm NSStatusItemScene creation and "Request complete" from FrontBoardServices
  • Tried killall SystemUIServer to rebuild menu bar → no change
  • Tried patching Info.plist with NSSupportsAutomaticTermination=false + NSSupportsSuddenTermination=false and re-signing → no change
  • Not a notch issue: primary display is a 5120x2880 external monitor (no notch), all other menubar icons visible
  • Not a Focus filter issue: tested with Focus mode disabled
  • Not hidden by a menubar manager (confirmed by installing Ice for visibility control — still not listed)
  • Compact mode toggled both ways (defaults write CodeBurnMenubar CodeBurnMenubarCompact -bool true/false) → no change

Suspicious log lines

CodeBurnMenubar: (AppKit) [com.apple.AppKit:AutomaticTermination] _kLSApplicationWouldBeTerminatedByTALKey=1
CodeBurnMenubar: (LaunchServices) LSExceptions shared instance invalidated for timeout

Possibly related to #126 / #134 (App Nap hardening) but those fixes don't appear sufficient on Tahoe.

Environment

  • macOS: 26.4.1 (25E253) Tahoe
  • Chip: Apple Silicon (arm64)
  • Node: 22.16.0
  • codeburn CLI: 0.8.9 (works fine)
  • Menubar app: v0.8.9 and v0.8.8 both broken
  • Providers with data: Claude Code (~/.claude/projects/), Claude Desktop

Repro

npm install -g codeburn
npx codeburn menubar
# App launches, process runs, no icon ever appears in menu bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions