Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[BUG] Chat window flickers and reloads after pressing "Cancel" or restoring checkpoint, causing duplicated messages #8677

Copy link
Copy link
@jwadow

Description

@jwadow
Issue body actions

Problem (one or two sentences)

When I press "Cancel" to stop an API response, the chat window flickers once as if it reloads.
This same flicker also happens after editing old message with "restoring a checkpoint", often duplicating both old and new messages.

mpc-hc64_b0fuBFeh21.mp4

Context (who is affected and when)

Affects users actively editing or interrupting conversations in the chat interface.
Occurs during normal interaction when trying to cancel model output or restore previous message states.

Reproduction steps

  1. Trigger a model response (start generating text).
  2. Press the "Cancel" button to stop generation.
    → The chat window briefly flickers or reloads.
  3. Later, edit a previous message and click “Yes, restore checkpoint.”
    → The same flicker occurs, and sometimes both the restored and new messages appear together.

Expected result

Cancel should cleanly stop the API call or restore the checkpoint without reloading or visually refreshing the chat window. UI should remain stable, and no message duplication should occur.

Actual result

The chat interface reloads or flashes once after pressing “Cancel” or restoring a checkpoint. In some cases, both old and new messages are kept, leading to duplication.

Variations tried (optional)

No response

App Version

3.28.16

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.New issue. Needs quick review to confirm validity and assign labels.bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    Status

    Triage
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.