claude-code - 💡(How to fix) Fix [BUG] Claude Desktop Windows: periodic ~60s system-wide keyboard focus loss (~10s duration) while app is running in background [1 comments, 1 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#49158Fetched 2026-04-17 08:49:14
View on GitHub
Comments
1
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3commented ×1

Error Message

Error Messages/Logs

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 (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Approximately every 60 seconds, while Claude Desktop is running, all keyboard input on the system becomes unresponsive for approximately 10 seconds. The cursor stops blinking in whatever application I am typing in. After ~10 seconds, focus automatically restores and I can resume typing normally. Clicking into the active text field immediately also restores typing without waiting for the timeout. This does not appear to be a CPU or RAM issue — no spike is visible in Task Manager during the interruption. The behavior is consistent with the app causing a periodic system-wide keyboard focus disruption and then releasing it.

What Should Happen?

Expected Behavior Claude Desktop running in the background should have no effect on keyboard focus or input in other applications.

Actual Behavior Keyboard input in all other applications is interrupted for ~10 seconds approximately every 60 seconds. The cursor stops blinking during the interruption, suggesting a system-wide focus event, not just a local UI freeze.

Error Messages/Logs

Steps to Reproduce

  1. Launch Claude Desktop
  2. Switch to any other application (text editor, browser, email, etc.) and begin typing
  3. Wait approximately 60 seconds
  4. Observe: keyboard input stops, cursor stops blinking
  5. Wait ~10 seconds — observe: input automatically resumes
  6. Repeat — the pattern is consistent roughly every 60 seconds

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Any version prior to the April 14 UI rewrite

Claude Code Version

2.1.63

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

Isolation / Diagnostic Steps Already Taken

✅ Problem disappears when Claude Desktop is fully exited via system tray → Exit ✅ Problem persists when Claude window is minimized ✅ Problem persists when Claude window is closed but app remains in the system tray ✅ Problem persists after disabling the "Claude in Chrome" connector ✅ No CPU or RAM spike observed during interruption events ✅ No Cowork task is running during the interruptions

extent analysis

TL;DR

The issue is likely caused by a periodic system-wide keyboard focus disruption introduced in the April 14 UI rewrite, and a potential workaround is to investigate and modify the code changes made in that rewrite.

Guidance

  • Review the code changes made in the April 14 UI rewrite to identify potential causes of the periodic keyboard focus disruption.
  • Investigate if there are any timers or scheduled tasks in the Claude Desktop application that could be causing the system-wide focus event.
  • Check if there are any interactions between the Claude Desktop application and the operating system that could be contributing to the issue.
  • Consider adding logging or debugging statements to the application to gather more information about the issue.

Example

No code snippet is provided as the issue does not include specific code details.

Notes

The issue is specific to the Windows platform and the Anthropic API, and it is not clear if this issue affects other platforms or APIs. The problem disappears when Claude Desktop is fully exited, which suggests that the issue is related to the application itself.

Recommendation

Apply workaround: Investigate and modify the code changes made in the April 14 UI rewrite to identify and fix the root cause of the issue, as the problem is likely related to the changes made in that version.

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] Claude Desktop Windows: periodic ~60s system-wide keyboard focus loss (~10s duration) while app is running in background [1 comments, 1 participants]