vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Windows “Open Folder” dialog freezes when right-clicking inside the dialog (100% reproducible)

Open coolmian opened this issue 2 months ago • 3 comments

Environment

  • VS Code version: 1.105.1 (system setup)
  • Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084
  • Date: 2025-10-14T22:33:36.618Z
  • Electron: 37.6.0
  • Chromium: 138.0.7204.251
  • Node.js: 22.19.0
  • V8: 13.8.258.32-electron.0
  • OS: Windows_NT x64 10.0.19045 (Windows 10 22H2)
  • Hardware acceleration: Disabled
  • Input method: English / Microsoft Pinyin
  • Reproduction rate: 100%

Steps to Reproduce

  1. Launch VS Code.
  2. Go to File → Open Folder....
  3. In the native Windows folder picker dialog, right-click on any blank area inside the dialog.
  4. The cursor turns into a spinning blue circle, and both the dialog and the entire VS Code UI become unresponsive.

Expected Behavior

A normal context menu should appear (as in Chrome or Notepad, which use the same Windows folder picker dialog).


Actual Behavior

  • The cursor changes to a spinning busy indicator.
  • The dialog window and the VS Code main window completely freeze.
  • The freeze never resolves; VS Code must be forcibly terminated.

Additional Information

  • This issue only occurs in VS Code — other applications using the same IFileDialog (e.g. Chrome, Notepad) behave normally.
  • All non-Microsoft context menu shell extensions were disabled via ShellExView, but the issue persists.
  • All VS Code extensions were disabled (Safe Mode), but the issue persists.
  • Hardware acceleration is already disabled ("window.enableHardwareAcceleration": false).
  • Switching to English input method does not help.
  • The freeze is 100% reproducible every time.
  • No crash dumps are generated even when launching with code --crash-reporter-directory <path> (As provided in the attachment, it can be seen that an empty folder has been generated) vscode_crash.zip

coolmian avatar Oct 25 '25 01:10 coolmian

Image

coolmian avatar Oct 25 '25 01:10 coolmian

@deepak1556 can you please help take a look ?

zhichli avatar Oct 27 '25 19:10 zhichli

Unable to repro with latest insiders https://code.visualstudio.com/insiders, please confirm if the issue persists.

deepak1556 avatar Dec 10 '25 16:12 deepak1556

Unable to repro with latest insiders https://code.visualstudio.com/insiders, please confirm if the issue persists.

The problem still exists.

Image

Version: 1.108.0-insider (user setup) Commit: 9ba40f8204f1b4cb092f9585b19ab3f26d0a588c Date: 2025-12-12T14:19:49.836Z Electron: 39.2.3 ElectronBuildId: 12895514 Chromium: 142.0.7444.175 Node.js: 22.21.1 V8: 14.2.231.21-electron.0 OS: Windows_NT x64 10.0.19045

coolmian avatar Dec 13 '25 14:12 coolmian