claude-code - 💡(How to fix) Fix [BUG] Desktop: dismissed "Approaching usage limit" banner reappears every time I switch sessions [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56094Fetched 2026-05-05 05:58:23
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report
  • I am using the latest version of Claude Code

What's Wrong?

In Claude Code Desktop, the "Approaching usage limit" banner with an "Upgrade" link appears above the input. Clicking the × dismisses it for the current session view, but as soon as I switch to another session in the same app launch, the banner is back. Switch back to the original session — also back. Every session switch resurfaces it.

So in practice the dismiss button does nothing useful: any normal multi-session workflow re-surfaces the banner constantly. I'm dismissing the same banner ten or more times per work session.

What Should Happen?

Dismissing the banner via × should persist across session switches (and ideally across app relaunches) until the user actually crosses a higher threshold or the weekly window resets. At minimum, dismissing it should hold for the lifetime of the current app process.

Steps to Reproduce

  1. Open Claude Code Desktop with the "Approaching usage limit" banner visible.
  2. Click × to dismiss it. Banner disappears.
  3. Switch to another open session (sidebar / session switcher).
  4. Switch back — banner has reappeared.

Claude Code Version

Claude Code Desktop (latest as of 2026-05-04)

Platform

Anthropic API (Max plan)

Operating System

macOS

Terminal/Shell

N/A — Desktop app

Additional Information

Related issues:

  • #41822 — Open enhancement request for a configurable warning threshold. Different ask (threshold configurability vs. dismiss persistence).
  • #50558 — Closed as duplicate of #41822 and now locked. Documented the same dismiss-doesn't-persist behavior in the CLI ("Problem 2"), but #41822 doesn't actually track that part — it's only about thresholds. So the dismiss-persistence bug got buried when #50558 was closed.
  • #51550 — Open. Same Desktop banner, but a different problem: false-positive triggering and the nonsensical "Upgrade" CTA on Max (20x). Doesn't cover dismiss-state behavior.

This issue is intentionally narrow: just the dismiss-state-not-persisting-across-session-switches behavior in Desktop. Even if the trigger threshold and CTA bugs are fixed, this would still be broken.

extent analysis

TL;DR

The "Approaching usage limit" banner's dismiss state should be persisted across session switches in Claude Code Desktop.

Guidance

  • Investigate the session management and storage mechanisms in Claude Code Desktop to determine why the dismiss state is not being retained.
  • Consider implementing a persistent storage solution, such as a local database or file, to store the user's dismiss preferences.
  • Review the related issues (#41822, #50558, #51550) to ensure that the fix does not introduce or exacerbate other problems.
  • Test the dismiss functionality across multiple session switches and app relaunches to verify that the fix is effective.

Example

No code snippet is provided as the issue does not contain sufficient technical details.

Notes

The issue is specific to the Desktop version of Claude Code and may not be relevant to other platforms or versions.

Recommendation

Apply a workaround to persist the dismiss state across session switches, as the root cause of the issue is not immediately clear and may require further investigation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Desktop: dismissed "Approaching usage limit" banner reappears every time I switch sessions [1 comments, 2 participants]