Bug: Menu bar dropdown remains unresponsive on macOS 26.5 despite changelog fixes
Issue Body Environment • Codexbar Version: 0.31.0(73) • macOS Version: macOS 26.5 (Tahoe) • Device: M3 Ultra Mac Studio / M1 Max Macbook Pro Description The recent changelog states that the release includes optimizations for the menu bar: "Menu bar: coalesce visible-menu rebuilds and reduce hover highlight work so the dropdown stays responsive on macOS 26.5". However, after updating to this latest version, the issue persists on my system. The menu bar dropdown menu remains laggy and unresponsive when clicked or hovered over. The performance improvements mentioned do not seem to resolve the lag on macOS 26.5. Steps to Reproduce 1. Update Codexbar to the latest version on macOS 26.5. 2. Click on the Codexbar icon in the menu bar. 3. Move the cursor over the dropdown entries (triggering hover highlights). 4. Notice the delay/unresponsiveness in the UI. Expected Behavior The dropdown menu should open instantly and stay perfectly fluid and responsive when hovering over menu items, as described in the changelog. Actual Behavior The dropdown menu is still sluggish, lags during hover states, and suffers from the same unresponsiveness observed prior to the update.
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed May 30, 2026, 9:37 AM ET / 13:37 UTC.
Summary Keep open: this is a fresh report that the v0.31.0 menu responsiveness fix did not resolve macOS 26.5 dropdown lag, current main has no newer menu-specific change after v0.31.0, and the related open performance branch at https://github.com/steipete/CodexBar/pull/1198 is not a safe merged replacement yet.
Reproducibility: no. high-confidence local reproduction was established. The reporter gives concrete macOS 26.5 steps on two Apple Silicon machines and prior issue context has samples, but this review did not run a Tahoe bundle or capture a current-main sample.
Ways to help us reproduce this
- Add a screenshot or short recording showing the behavior.
- Add expected vs actual behavior.
- Include redacted logs or terminal output.
Next step Needs maintainer or affected-machine live profiling and a decision on whether to extract a smaller fix from https://github.com/steipete/CodexBar/pull/1198 before queuing autonomous repair work.
Review details
Best possible solution:
Keep this issue open as the residual menu-performance tracker, validate current main and any extracted fixes on affected macOS 26.5 setups, then land a narrow proven change for menu open, hover, provider switch, and close responsiveness.
Do we have a high-confidence way to reproduce the issue?
No high-confidence local reproduction was established. The reporter gives concrete macOS 26.5 steps on two Apple Silicon machines and prior issue context has samples, but this review did not run a Tahoe bundle or capture a current-main sample.
Is this the best way to solve the issue?
Unclear because there is no accepted patch yet. The previous v0.31.0 menu coalescing fix was not sufficient for this reporter, and the safer path is a narrow, instrumented fix proven on affected macOS 26.5 setups rather than merging the broad open branch wholesale.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- No local macOS 26.5 bundle run or sample was captured in this read-only review, so the exact remaining hot path is not yet proven.
- Current main includes an unreleased OpenAI WebKit lifecycle fix that may reduce background CPU, but it has not been shown to solve the menu hover/dropdown lag reported here.
- The open performance branch is broad and still has merge-readiness concerns, so maintainers should not treat it as the canonical fix until it is split, repaired, or explicitly approved.
Codex review notes: model gpt-5.5, reasoning high; reviewed against 72716d9fd545.
Label changes
Label changes:
- add
P1: This is a latest-release regression in CodexBar's primary menu-bar dropdown that keeps normal click and hover interaction sluggish for real users. - add
impact:other: The concrete impact is user-visible UI responsiveness and performance in the core menu, which is outside the more specific owned impact categories. - add
issue-rating: 🦐 gold shrimp: Current issue advisory state selects this label. - add
clawsweeper:needs-info: 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:
P1: This is a latest-release regression in CodexBar's primary menu-bar dropdown that keeps normal click and hover interaction sluggish for real users.impact:other: The concrete impact is user-visible UI responsiveness and performance in the core menu, which is outside the more specific owned impact categories.
Evidence reviewed
Acceptance criteria:
- On macOS 26.5, run a freshly built current-main bundle via ./Scripts/compile_and_run.sh and record repeated menu open, hover, provider switch, and close behavior.
- Capture sample or spindump output while the menu is lagging and compare before/after any fix.
- swift test --filter StatusMenuOpenRefreshTests
- swift test --filter StatusMenuHighlightTests
- swift test --filter StatusMenuSwitcherRefreshTests
What I checked:
- Reporter says latest release still lags: The issue reports CodexBar 0.31.0 (73) on macOS 26.5 across M3 Ultra and M1 Max machines, with sluggish menu open and hover behavior after the v0.31.0 changelog fix.
- Prior fixed issue has residual reports: The earlier menu-lag issue at https://github.com/steipete/CodexBar/issues/1196 was closed as fixed in 529e25538a2025e6fca3097e2cf550c9f9e6d18d, but later comments on that closed issue report v0.31.0 is still slow, so this issue should not be collapsed into the closed report. (529e25538a20)
- Current menu still rebuilds visible menus: Current main still schedules visible-menu rebuilds through rebuildOpenMenuIfStillVisible, which calls populateMenu, marks the menu fresh, and reapplies the icon while the menu is tracked. (
Sources/CodexBar/StatusItemController+Menu.swift:1103, 72716d9fd545) - Current hover path is optimized but still central: Current main tracks the previous highlighted item and only updates the previous/current custom row, matching the v0.31.0 fix surface but not proving the residual lag is solved. (
Sources/CodexBar/StatusItemController+Menu.swift:159, 72716d9fd545) - Release notes identify the attempted fix: The v0.31.0 changelog includes the menu-bar coalescing and hover-highlight performance fix for macOS 26.5, which is the exact fix the reporter says was insufficient. (
CHANGELOG.md:32, 72716d9fd545) - No newer menu-specific main change found: Diffing v0.31.0 to current main across the central menu files showed only CHANGELOG.md in that filtered command; the post-release code changes are provider search, CLI/cache, pricing, and OpenAI WebKit lifecycle work rather than the visible menu rebuild/highlight surface. (72716d9fd545)
Likely related people:
- steipete: Current blame and release history for the visible-menu rebuild/highlight fix point to Peter Steinberger, and the prior issue was closed by him as fixed in 529e25538a2025e6fca3097e2cf550c9f9e6d18d. (role: recent area contributor; confidence: high; commits: 529e25538a20, f83fb70b7f24, aebe1c91cd58; files:
Sources/CodexBar/StatusItemController+Menu.swift,Sources/CodexBar/StatusItemController+MenuRefreshScheduling.swift,Tests/CodexBarTests/StatusMenuOpenRefreshTests.swift) - darkamenosa: The open performance branch at https://github.com/steipete/CodexBar/pull/1198 targets the same menu-lag surface and is being kept as an ideas branch for smaller extractions. (role: active follow-up contributor; confidence: medium; commits: a34d53fdf224; files:
Sources/CodexBar/StatusItemController+Menu.swift,Sources/CodexBar/StatusItemController+MenuRefreshScheduling.swift,Sources/CodexBar/MainRunLoopStallMonitor.swift) - Yuxin Qiao: History shows the compact multi-row provider switcher work in 2ff00f6d8e66ec5290fccc58a8abe65d795fecca, adjacent to the provider-switching lag path described in the prior report. (role: provider switcher feature contributor; confidence: medium; commits: 2ff00f6d8e66; files:
Sources/CodexBar/StatusItemController+SwitcherViews.swift,Tests/CodexBarTests/StatusMenuSwitcherClickTests.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-reviewcomments, 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-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto 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 explainto ask for more context, or@clawsweeper stopto stop active automation.
mine is m5 max, also very unresponsive
M4 base model.
I also noticed that the tray icon turned red to indicate that I had reached my 5-hour Codex usage limit, and it doesn’t return to its normal state when I open the menu.
After an App restart (and loads the data from the servers), the behavior repeats.