CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

CodexBar is becoming bloated

Open merijnvanes opened this issue 5 months ago • 15 comments

First of all, thank you for creating CodexBar.

CodexBar is an amazing little app, or I should say was an amazing little app.

I used to love it, but since the last 2-3 updates it has become super laggy. I'm on a MacOS M4 Max 36 GB and it just gets stuck immediately after open and doesn't even close. The app has become BLOATED. I loved it because it was small and useful. Now there have been visuals added nobody cares about, only the creator, because it looks pretty on their machine.

We don't care for "pretty", we care for functional.

And yes, I've read other issues, that raise the same problem. But honestly, the issue is over-engineering in general: we don't want a graph with a nice gradient under every provider in the overview, so you now only a single provided fits in the overview... We want an OVERVIEW in the freaking overview!!

Please devs, could you please pay attention and stay true to the core functionality

merijnvanes avatar Jun 09 '26 11:06 merijnvanes

Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 9, 2026, 7:54 AM ET / 11:54 UTC.

Summary Keep open: this is a fresh menu performance and overview-density report that overlaps with existing open menu-freeze issues, but current main does not prove the reporter's lag/bloat complaint is fixed or fully duplicated.

Reproducibility: no. high-confidence reproduction for this exact issue. The source and related reports show a plausible synchronous menu-tracking path, but this report lacks version, enabled providers, settings, and a sample/spindump from the freeze.

Ways to help us reproduce this

  • Add a screenshot or short recording showing the behavior.
  • Add expected vs actual behavior.

Next step Maintainers should decide whether to consolidate this into the active menu-freeze root-cause work and whether the overview-density feedback changes product direction.

Review details

Best possible solution:

Consolidate the performance root cause with the active menu-freeze thread, then make an explicit maintainer decision about default Overview density and graph-heavy rows.

Do we have a high-confidence way to reproduce the issue?

No high-confidence reproduction for this exact issue. The source and related reports show a plausible synchronous menu-tracking path, but this report lacks version, enabled providers, settings, and a sample/spindump from the freeze.

Is this the best way to solve the issue?

Unclear. A narrow menu-tracking performance fix likely belongs with the open related issues, while removing or shrinking graph-heavy overview content needs maintainer product judgment.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • The report is fresh and overlaps with open issues, but it also contains distinct product feedback about visual density that could be lost if treated as a pure duplicate.
  • No local macOS UI sample was run for this reporter, so the remaining lag could be from menu switching, provider/account projection, chart rendering, storage scans, or a provider-specific configuration.

Codex review notes: model gpt-5.5, reasoning high; reviewed against a4f278d91fe4.

Label changes

Label changes:

  • add P2: The issue reports a user-visible menu hang and degraded overview usability, but lacks diagnostics tying it to a specific urgent regression path.
  • add impact:crash-loop: The issue describes CodexBar becoming stuck/unresponsive after opening, which is a process availability and hang signal.
  • add impact:other: The issue also asks maintainers to reconsider overview density and graph-heavy UI, which is meaningful UX/product impact outside the specific taxonomy.
  • add issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.
  • add clawsweeper:needs-live-repro: Current issue advisory state selects this label.
  • add clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.
  • add clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.
  • add clawsweeper:needs-product-decision: Current issue advisory state selects this label.

Label justifications:

  • P2: The issue reports a user-visible menu hang and degraded overview usability, but lacks diagnostics tying it to a specific urgent regression path.
  • impact:crash-loop: The issue describes CodexBar becoming stuck/unresponsive after opening, which is a process availability and hang signal.
  • impact:other: The issue also asks maintainers to reconsider overview density and graph-heavy UI, which is meaningful UX/product impact outside the specific taxonomy.
Evidence reviewed

What I checked:

  • Issue report: The issue reports severe lag/hanging after recent updates on an M4 Max Mac, plus product feedback that the provider overview has become too graph-heavy and no longer feels like an overview.
  • Vision fit: VISION.md defines CodexBar as a menu bar control surface that should preserve fast refreshes while adding provider coverage, making this performance/lean-UI concern in scope but still needing product judgment for broad UI simplification. (VISION.md:3, a4f278d91fe4)
  • Current feature surface: README describes CodexBar as a tiny menu bar app, but also documents optional dashboard enrichments, inline charts, merge icons, display controls, and refresh presets, which matches the reporter's concern that useful surfaces have expanded. (README.md:14, a4f278d91fe4)
  • Overview cap and selector: Current main already caps merged Overview rows to three providers and exposes a selector, so the specific 'only a single provider fits' complaint may depend on runtime row height/charts rather than missing selection support. (Sources/CodexBar/SettingsStore.swift:121, a4f278d91fe4)
  • Plausible menu-tracking hotspot: Current main still performs synchronous menu-open bookkeeping and overview/provider switching can call populateMenu from the menu action path, which is consistent with related reports of AppKit menu tracking freezes but is not by itself a full reproduction. (Sources/CodexBar/StatusItemController+OverviewSubmenus.swift:47, a4f278d91fe4)
  • Related open freeze report: GitHub API search found https://github.com/steipete/CodexBar/issues/1360 open with multiple users confirming menu hangs/freezes on recent Apple Silicon machines, so this issue is part of an active performance cluster rather than isolated stale feedback.

Likely related people:

  • steipete: Current menu and overview files blame to the v0.32.5 import, and prior history shows repeated menu responsiveness, menu refresh, and overview responsiveness work in the affected controller paths. (role: recent area contributor; confidence: high; commits: 920997c6a365, 9cd91d6a7173, 07ed3facdd4e; files: Sources/CodexBar/StatusItemController+Menu.swift, Sources/CodexBar/StatusItemController+OverviewSubmenus.swift, Sources/CodexBar/PreferencesDisplayPane.swift)
  • ratulsarna: Git history shows Ratul Sarna added and refined merged Overview selection, row activation, provider caps, and related settings behavior used by the reported overview UI. (role: overview feature contributor; confidence: high; commits: 1d57bc8aa82b, 6efa7c8c9b50, 549f7583156c; files: Sources/CodexBar/StatusItemController+Menu.swift, Sources/CodexBar/SettingsStore+Defaults.swift, Sources/CodexBar/PreferencesDisplayPane.swift)
  • hhh2210: The local git history identifies Larry Hao on the recent menu-open refresh reduction, adjacent to the same menu tracking and lag cluster. (role: recent menu performance contributor; confidence: medium; commits: 0be735b25a97; files: Sources/CodexBar/StatusItemController+Menu.swift, Tests/CodexBarTests/StatusMenuOpenRefreshTests.swift)
How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

clawsweeper[bot] avatar Jun 09 '26 11:06 clawsweeper[bot]

agreed, installed it today and couldn't do anything, lag lag lag lag. 32 gb ram.

flazouh avatar Jun 09 '26 18:06 flazouh

Same issue. Downgrading to 0.25.1 solved the problem. YMMV.

lghupan avatar Jun 09 '26 19:06 lghupan

Same here, once I only have Codex there it seems fine, but as soon as I added Claude and Minimax, it hangs for 10-15 seconds at a time before opening any menu or even mouseover highlighting menu entries. Amazing tool, but something happened recently that makes it basically unusable.

asgvard avatar Jun 09 '26 20:06 asgvard

Same issue. Downgrading to 0.25.1 solved the problem. YMMV.同样的问题。将版本降级到 0.25.1 后,问题得到了解决。不过,效果因人而异。

I've tried it and the result is great. I like this version.

Sh1-5 avatar Jun 10 '26 01:06 Sh1-5

Same here... More beachballs that I can handle ;)

Urkman avatar Jun 10 '26 06:06 Urkman

My main account is claude, and is so lagged... My whole computer stops working properly when I try to view Claude’s info..

leleuvilela avatar Jun 11 '26 09:06 leleuvilela

The was not fixed by the last update. I have 3 accounts connected:

  • Codex
  • Claude
  • Copilot

Urkman avatar Jun 12 '26 10:06 Urkman

I had to uninstall and delete all related files and force a installation of the latest version, which improved things, BUT a day later it started getting slow again...

leleuvilela avatar Jun 12 '26 10:06 leleuvilela

@steipete this issue is likely addressed in the pending release

ProspectOre avatar Jun 13 '26 08:06 ProspectOre

I've tried the new version 0.34.0. The superficial issue has been addressed, yes. Though this took many updates, and many opened issues: it was already happening around 0.25.1. And I'm sure we'll fall into the same trap in a few weeks/months again.

merijnvanes avatar Jun 13 '26 09:06 merijnvanes

The unreleased version is unreleased still and will be >0.34. All identified lag and beach balling should be addressed. Thanks for the positivity

ProspectOre avatar Jun 13 '26 09:06 ProspectOre

Okay thank you! I appreciate the work

I raised this issue pointing at the larger uderlying cause of failure though: the system. But I understand, in these times, that comes across as boomer critique

merijnvanes avatar Jun 13 '26 09:06 merijnvanes

The concrete lag/beachball reports in this thread are addressed by the menu-tracking, provider-switching, cached-content, refresh-coalescing, and Settings Keychain-read fixes shipped in v0.35.0. The original reporter also confirmed the immediate behavior improved on v0.34.0.

Closing this broad umbrella as resolved. Please open a focused issue with a current v0.35.0 sample if a specific hang remains; provider list, Merge Icons state, and a sample CodexBar 10 capture let us repair the actual blocking path. Product changes to Overview density should likewise be filed as one concrete layout request.

steipete avatar Jun 14 '26 06:06 steipete

I think the core issue isn't fixed: the app is bloated and it keeps getting more unnecessary features without thinking much about scope of the app. E.g. what is "surprise me" or "confetti", why should simple tray bar indicator app even have that. This clearly shows that when developing with AI you still need taste (coming from a human): don't add every possible "feature" you can think of to the app.

Kagami avatar Aug 19 '26 08:08 Kagami