Skip to content

cmd+w sometimes closes chats and sometimes files #329185

Description

repro:

  1. have multiple chats within the same session
  2. have two files and Files panel open in the right sidebar in Agents window
  3. focus file 1, press cmd+w to close it
  4. focus Files pane, press cmd+w to close it, but the chat is closed instead
CleanShot.2026-08-05.at.16.48.50.mp4

Version: 1.133.0-insider (Universal)
Commit: d90b903
Date: 2026-08-05T04:42:09Z
Electron: 42.8.0
ElectronBuildId: 14845705
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
@github/copilot: 1.0.78
@github/copilot-sdk: 1.0.9-preview.3
OS: d90b903

Metadata

Metadata

Labels

agents-windowbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions