CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

v0.24: Menu bar icon does not appear (process runs but icon is invisible)

Open h3x89 opened this issue 6 months ago • 4 comments

Summary

After upgrading to 0.24 (build 59), the CodexBar menu bar icon does not appear at all. The process starts successfully but the icon is never visible in the menu bar. Downgrading to 0.23 (build 58) immediately fixes the issue.

Environment

  • macOS 15.4 (Darwin 25.4.0)
  • MacBook Pro M1/M2
  • CodexBar 0.24 (build 59) — broken
  • CodexBar 0.23 (build 58) — works correctly

Steps to Reproduce

  1. Install CodexBar 0.24
  2. Launch the app (or let it launch at login)
  3. Process appears in pgrep -x CodexBar — it IS running
  4. No icon appears in the menu bar

Observed Behavior

  • Process running: ✅ (verified via ps, PID confirmed)
  • CPU usage: normal (~1% after startup spike of ~20%)
  • Menu bar icon: ❌ not visible anywhere
  • NSStatusItem Preferred Position Item-0 = 585 is set in defaults, but icon never renders

Expected Behavior

Menu bar icon should appear as it does in 0.23.

Diagnosis Notes

  • stdout/stderr are redirected to /dev/null — no console output available
  • log show --process CodexBar returns nothing (no unified log entries)
  • NSStatusItem VisibleCC Item-1 through Item-26 all set to 0 in preferences
  • No crash reports generated
  • This is different from issue #858 (no 100% CPU, app is not freezing — icon simply never appears)

Workaround

Downgrade to 0.23: https://github.com/steipete/CodexBar/releases/download/v0.23/CodexBar-0.23.zip

h3x89 avatar May 07 '26 20:05 h3x89

Same here.

marijnbent avatar May 08 '26 11:05 marijnbent

same here

jrdinatl avatar May 08 '26 20:05 jrdinatl

same here

rafachavantes avatar May 09 '26 12:05 rafachavantes

Fixed on main in 35cd513 by removing the explicit codexbar-* NSStatusItem autosave names so macOS cannot relaunch CodexBar into a persisted hidden menu-extra state. Also covered by StatusMenuTests.

steipete avatar May 10 '26 00:05 steipete