claude-code - 💡(How to fix) Fix [BUG] Desktop app UI freezes on permission prompt — Windows, requires force close [2 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#45099Fetched 2026-04-09 08:13:18
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×5commented ×2

Fix Action

Fix / Workaround

  • CLI handles the same permission prompts fine — bug is in the Electron rendering layer, not permission logic
  • Same office, same Electron freeze pattern in Cursor and Slack — those were fixed by disabling notifications. Claude's permission dialog triggers the same bug through a different path, so that workaround doesn't apply
  • Possibly related: electron/electron#10182, electron/electron#7401
RAW_BUFFERClick to expand / collapse
  • Searched existing issues
  • Single bug report
  • Latest version

Bug

Claude Desktop (Code tab) freezes completely when a tool permission prompt appears. UI renders but accepts no input — keyboard and mouse both dead. Only recovery is killing the process.

Affects 2 users in our office. CLI works fine on the same machines.

Repro

  1. Open Claude Desktop on Windows 11
  2. Trigger any tool permission prompt
  3. UI locks

More consistent at smaller window sizes, but also occurs maximised.

Environment

  • Windows 11, latest Claude Desktop
  • 100% display scaling
  • Tested on ultrawide (3440×1440) and laptop displays — freezes on both
  • Multi-monitor extended setup

Ruled Out

  • ELECTRON_DISABLE_GPU=1 — no effect
  • Disabling Windows notifications — no effect (this fixed identical Electron freezes we had with Cursor and Slack)
  • Maximising window — reduces frequency, doesn't eliminate
  • Display scaling / app zoom — both at defaults

Key Signal

  • CLI handles the same permission prompts fine — bug is in the Electron rendering layer, not permission logic
  • Same office, same Electron freeze pattern in Cursor and Slack — those were fixed by disabling notifications. Claude's permission dialog triggers the same bug through a different path, so that workaround doesn't apply
  • Possibly related: electron/electron#10182, electron/electron#7401

extent analysis

TL;DR

Investigate and potentially patch or workaround the Electron rendering layer issue that causes the Claude Desktop UI to freeze when a tool permission prompt appears.

Guidance

  • Verify that the issue is indeed related to the Electron rendering layer by testing other Electron applications with similar permission prompts.
  • Check the Electron issues mentioned (electron/electron#10182 and electron/electron#7401) for potential workarounds or fixes.
  • Consider testing with different display settings, such as changing the display scaling or using a single monitor setup, to see if the issue is related to the multi-monitor setup.
  • Investigate the difference in behavior between the CLI and the Electron-based UI to identify potential causes for the freeze.

Example

No specific code snippet can be provided without more information about the Claude Desktop codebase.

Notes

The issue seems to be specific to the Electron rendering layer and may be related to known issues in the Electron project. However, the fact that disabling Windows notifications fixed similar issues in other applications but not in Claude Desktop suggests that the root cause may be different.

Recommendation

Apply a workaround, as the issue is likely related to a known problem in the Electron rendering layer, and upgrading to a fixed version may not be possible or immediate. A temporary workaround, such as modifying the permission prompt behavior or using a different rendering approach, may be necessary to mitigate the issue.

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