microsoft / microsoft/vscode

"Window Is Not Responding" Dialog Steals Keyboard Focus and Shuts Down the Window on a Keystroke, Destroying Unsaved State

Open
#333,349 2 comments 0 reactions 1 assignee Claimed by @deepak1556 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: N/A

- VS Code Version: 1.135.0
- OS Version: win32 10.0.22631 x64

Steps to Reproduce:

1. Open VS Code and open any editor with unsaved changes.
2. Open Help, then Toggle Developer Tools, then the Console tab.
3. Block the renderer for about 20 seconds by running this in the console:

const t = Date.now(); while (Date.now() - t < 20000) {}

4. Immediately click back into the editor and keep typing normally, including
pressing Enter at the end of a line.
5. Wait for "The window is not responding" to appear.

[VSCODE_WINDOW_CRASH_ORPHANED_SERVER_STACK_BUG_2026-08-29.md](https://github.com/user-attachments/files/31602056/VSCODE_WINDOW_CRASH_ORPHANED_SERVER_STACK_BUG_2026-08-29.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.