Skip to content

Pressing Delete key in "Other" free-text input of Copilot Chat multi-choice question destroys entire conversation #294109

Closed

Description

@irondogBM

Title: Pressing Delete key in "Other" free-text input of Copilot Chat multi-choice question destroys entire conversation

Type: Bug

VS Code Version: (check via Help > About)

OS: Windows

Severity: Critical — causes complete data loss of in-progress work

Description:

When GitHub Copilot Chat presents a multi-choice question (via the agent's question tool) that includes an "Other" option allowing free-text input, pressing the Delete key while editing text in that free-text field immediately and irreversibly destroys the entire chat conversation — including all prior messages, context, and generated plans.

Steps to Reproduce:

  1. Start a Copilot Chat session (Plan mode or any mode)
  2. Work through a multi-step planning conversation with significant back-and-forth (the more content, the more painful the loss)
  3. Wait for Copilot to present a multi-choice question (quick-pick UI with several options)
  4. The quick-pick automatically includes an "Other" option with a free-text input field
  5. Click/select the "Other" option and begin typing a custom response
  6. Press the Delete key (forward-delete) while editing the text
  7. Result: The entire conversation is wiped — all messages, all context, all generated content is gone with no recovery possible

Expected Behavior:

The Delete key should delete a character in the text input field, as it does in every other text input in VS Code. The conversation should remain intact.

Actual Behavior:

The Delete key triggers destruction of the entire chat conversation. No confirmation dialog. No undo. No recovery mechanism.

Impact:

  • Complete loss of multi-step planning sessions that may represent hours of collaborative work
  • No way to recover the conversation — chat history is not persisted to disk or version control
  • Undermines trust in using Copilot Chat for any substantive, multi-turn work
  • The Delete key is a standard text-editing key — users will press it reflexively

Possible Cause:

The Delete key event appears to be propagating from the free-text input to the chat conversation container, where it's being interpreted as a "delete message" or "clear conversation" action rather than being captured by the input field.

Suggested Fixes:

  1. Immediate: Stop propagation of Delete key events from within the free-text input element
  2. Safety net: Add a confirmation dialog before destroying any conversation with more than N messages
  3. Recovery: Persist chat conversation state to disk so conversations can be recovered after accidental deletion or crashes
  4. Prevention: The "Other" free-text input should properly capture all keyboard events (Delete, Backspace, arrow keys, etc.) without side effects

Additional Context:

This occurred during a multi-stage refactoring planning session in Plan mode. The conversation contained extensive codebase research, architectural decisions, and a detailed implementation plan that was irrecoverably lost. The user was mid-way through answering a clarification question when the bug triggered.

Activity

  1. added
    chat-ext-issue
    on Feb 10, 2026
  2. removed
    chat-ext-issue
    on Feb 10, 2026
  3. barakbbn commented on Feb 16, 2026

    @barakbbn

    it just destroyed 2 hours of work. very frustrating

  4. Darth-Carrotpie commented on Mar 1, 2026

    @Darth-Carrotpie

    This. Just. Keeps. Happening.
    Who thought of making delete button remove all conversation, should get FIRED.
    NO CONFIRMATION, NOTHING! Just REMOVES instantly all context and history of the session.
    Jeeeeeesus.

  5. added
    bug
    on Mar 1, 2026
  6. meganrogge commented on Mar 2, 2026

    @meganrogge
    Collaborator

    can someone pls run the command "toggle keyboard shortcuts troubleshooting" to figure out which command is invoked here?

  7. meganrogge commented on Mar 2, 2026

    @meganrogge
    Collaborator

    it's Undo Requests

  8. added a commit that references this issue on Mar 2, 2026
    297fd0a
  9. added a commit that references this issue on Mar 2, 2026
    9497369
  10. added
    unreleased
    on Mar 2, 2026
  11. added a commit that references this issue on Mar 2, 2026
    2832d11
  12. added
    insiders-released
    and removed
    unreleased
    on Mar 4, 2026
  13. added a commit that references this issue on Apr 13, 2026
    7adb6d6
  14. locked and limited conversation to collaborators on Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions