Agents app chat opened in a new window opens dropped images in the editor instead of attaching them

Open
#317,752 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
desktop

Research direction

Start by reproducing the image drop in the Agents app's primary window and in a session opened with “Open in New Window.” Compare how each window handles the drop; done means the new window attaches the image to the chat instead of opening it in an editor tab, with the existing primary-window behavior preserved.

Written by the indexing model from the issue text.

Description

agents-window bug
  • VS Code Version: 1.121.0-insider
  • OS Version: macOS 26.4.1
  • Feature (e.g. agent/edit/ask mode): Sessions app / Agents window chat
  • Selected model: GPT 5.5

Steps to Reproduce:

  1. Open the Agents app.
  2. Open a session/chat.
  3. In the primary window, drag and drop an image into the chat.
  4. Observe that the image is attached to the chat as expected.
  5. The right click on a session/chat and click in the menu "Open in New Window".
  6. In the newly opened window, drag and drop an image into the chat.

Expected:
The image is attached to the chat in the new window, matching the behavior in the primary window.

Actual:
The image opens in an editor tab instead of being attached to the chat.

https://github.com/user-attachments/assets/b466eacb-280d-4afe-8842-dd3e8c0f4a9a

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.