CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

App lags and freezes when opening CodexBar menu with both Codex and Claude logins active (Mac)

Open elkaix opened this issue 5 months ago β€’ 3 comments

Bug Report: App Lags and Freezes When Opening CodexBar Menu

Description

When both Codex and Claude are logged in simultaneously, clicking the CodexBar icon in the Mac menu bar causes the app to lag and freeze. The menu becomes unresponsive and the application hangs when trying to open the CodexBar dropdown.

Steps to Reproduce

  1. Log in to Codex within the app
  2. Log in to Claude within the app
  3. Click the CodexBar icon in the Mac top menu bar
  4. Observe the app lagging and freezing when the menu attempts to open

Expected Behavior

The CodexBar menu should open quickly and remain fully responsive regardless of how many accounts/services are logged in.

Actual Behavior

The app lags and freezes when attempting to open the CodexBar menu. The UI becomes unresponsive.

Environment

  • OS: macOS
  • Trigger: Having both Codex and Claude logged in at the same time

Additional Context

The issue appears to be specifically related to having both Codex and Claude sessions active simultaneously. The freeze occurs at the point of opening the menu bar dropdown. and when i try to move between tabs claude codex or main tab

elkaix avatar Jun 11 '26 04:06 elkaix

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

Summary Current main contains a directly relevant unreleased performance fix that removes live Codex account reconciliation from menu tracking, but the issue was filed afterward without identifying the tested version and also reports provider-tab switching, so there is not enough evidence to conclude that current main fully resolves it.

Reproducibility: no. not at high confidence: the interaction sequence is concrete and maps to known menu-tracking work, but the affected build is unknown and no current-main trace, timing log, or failing test demonstrates the freeze.

Ways to help us reproduce this

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

Next step A maintainer should request the affected version and a retest or timing logs from current main before deciding whether the existing unreleased fix is sufficient or a new repair is needed.

Review details

Best possible solution:

Retest opening and repeatedly switching the Codex, Claude, and overview tabs on a build containing f1c1b6c; if the hang remains, use the existing slow menu-operation timing logs to isolate and defer the remaining synchronous account, layout, or view-reconciliation work.

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

No, not at high confidence: the interaction sequence is concrete and maps to known menu-tracking work, but the affected build is unknown and no current-main trace, timing log, or failing test demonstrates the freeze.

Is this the best way to solve the issue?

Unclear for the complete report: cached Codex account projections are the right narrow solution for reconciliation stalls, but provider-tab switching must be retested on that implementation before assuming the entire hang is fixed.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • The report does not identify the CodexBar version, macOS version, freeze duration, or any slow-menu log output.
  • The issue was filed 97 minutes after the relevant commit, but that commit is not in v0.32.5, so the reporter may have been using the released build rather than current main.
  • The reported tab-switch freeze may involve menu width, view reconciliation, or another synchronous rendering path not covered by the Codex account projection change.

Codex review notes: model internal, reasoning high; reviewed against 4c964ccc91e0.

Label changes

Label changes:

  • add P2: The issue reports loss of responsiveness in the primary menu workflow, but its current-main status is uncertain and the impact appears limited to a specific provider combination.
  • add impact:crash-loop: The reported app hang makes the menu unavailable and falls within process-level availability impact.
  • 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.

Label justifications:

  • P2: The issue reports loss of responsiveness in the primary menu workflow, but its current-main status is uncertain and the impact appears limited to a specific provider combination.
  • impact:crash-loop: The reported app hang makes the menu unavailable and falls within process-level availability impact.
Evidence reviewed

What I checked:

Likely related people:

  • Peter Steinberger: Authored the current-main account-reconciliation performance change and the adjacent provider-switch menu-width fix, and has the largest history in the central menu files. (role: recent area contributor; confidence: high; commits: f1c1b6cdf3ea, 0e0102c30fe6; files: Sources/CodexBar/Providers/Codex/CodexSettingsStore.swift, Sources/CodexBar/StatusItemController+Menu.swift, Sources/CodexBar/StatusItemController+AccountMenuDisplay.swift)
  • bcssewl: Recently implemented menu-card view recycling and in-place content reconciliation in the same menu construction path. (role: recent adjacent contributor; confidence: medium; commits: f927e8ad90ae; files: Sources/CodexBar/StatusItemController+Menu.swift, Tests/CodexBarTests/MenuCardViewRecyclingTests.swift)
  • Joshua Vial: Recently fixed menu-open refresh-delay behavior, making this history relevant if the apparent freeze is refresh scheduling rather than reconciliation. (role: recent adjacent contributor; confidence: medium; commits: 3c2d53de57c1; files: Sources/CodexBar/StatusItemController+Menu.swift, Sources/CodexBar/StatusItemController+MenuRefreshScheduling.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 11 '26 04:06 clawsweeper[bot]

update to the just released 0.33

ProspectOre avatar Jun 11 '26 05:06 ProspectOre

Consolidating this into #1387, the earlier heavily subscribed report tracking the same menu lag and freezing. The Codex-plus-Claude reproduction details here are useful; please retest on 0.33.0 and add any remaining timings or samples to #1387.

steipete avatar Jun 11 '26 06:06 steipete