claude-code - 💡(How to fix) Fix [BUG] Console window steals focus during background operations on Windows 11

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…

Root Cause

Root cause (suspected) Child processes (bash/cowork-svc) are spawned without the CREATE_NO_WINDOW flag — same underlying cause as #28138.

RAW_BUFFERClick to expand / collapse

What's wrong? Every time the Claude Desktop Windows app performs a background operation, a console/bash window appears and steals focus from the active window. This actively interrupts typing and breaks workflow — it's not just a taskbar flash.

Environment

  • Platform: Claude Desktop (Windows app)
  • OS: Windows 11
  • Installed via: claude.ai/download

Steps to reproduce

  1. Install Claude Desktop on Windows 11
  2. Open the app and start a conversation
  3. Observe that a black console window appears and steals focus from whatever the user is currently doing, repeatedly throughout the session

Expected behavior Background subprocesses should run silently with no visible window and without stealing focus.

Root cause (suspected) Child processes (bash/cowork-svc) are spawned without the CREATE_NO_WINDOW flag — same underlying cause as #28138.

Related issues #28138, #16880

Impact High — focus theft actively interrupts typing and makes the desktop app unusable for sustained work.

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] Console window steals focus during background operations on Windows 11