microsoft / microsoft/vscode

`cmd+w` sometimes closes chats and sometimes files

Open
#329,185 0 comments 0 reactions 1 assignee Claimed by @sandy081 View on GitHub
agents-window bug
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

repro:

0. have multiple chats within the same session
1. have two files and Files panel open in the right sidebar in Agents window
2. focus file 1, press cmd+w to close it
3. focus Files pane, press cmd+w to close it, but the chat is closed instead

https://github.com/user-attachments/assets/d023b4b5-3195-48c8-a650-52b0f0b381f4

Version: 1.133.0-insider (Universal)
Commit: d90b90332515fe87d3ea344cbd4b0ae405128e9a
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: d90b90332515fe87d3ea344cbd4b0ae405128e9a

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.