Skip to content

[BUG] Prompt lost when clicking “Resume Task”, text not sent and data loss #9328

@tanchekwei

Description

@tanchekwei

Problem (one or two sentences)

Clicking Resume Task clears the prompt instead of sending it as feedback, causing unrecoverable data loss.

Context (who is affected and when)

Types a prompt while the Resume Task and Terminate buttons are visible can lose all typed text if they click Resume Task.

Reproduction steps

  1. Open a chat where Resume Task and Terminate are both shown.
  2. Type any text into the prompt input area.
  3. Click Resume Task.
  4. Observe that the prompt is not sent, it is cleared immediately, and it cannot be restored with the up-arrow history.

Expected result

The typed prompt should be sent as feedback, consistent with how Save or Reject works after file edits.

Actual result

The prompt is silently cleared, never sent, and cannot be recovered, leading to data loss.

Variations tried (optional)

Reproduced consistently across different chats.

App Version

v3.19.7

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions