Skip to content

[Bug]: Cmd+Enter on an edited queued message saves it but doesn't steer #37506

Closed

Description

@smirea

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Settings → Chat → Follow-ups: set Follow-up behavior to Queue. Keybindings are the defaults, so Cmd+Enter (composer.sendAlternate) steers while a turn runs.
  2. Start a turn that keeps running for a while (I used Claude Haiku 5.5 running a 75 s foreground command).
  3. Type a follow-up and press Enter. It queues.
  4. Click the queued message's pencil (Edit queued message). The text moves into the composer and the submit button reads Update queued message.
  5. Change the text and press Cmd+Enter (Cmd-clicking the submit button does the same).

Expected behavior

docs/user/composer.md says Cmd+Enter "uses the opposite action: it steers when your default is Queue". Settings says the same: "Press ⌘ + Enter to do the opposite for one message". A new follow-up sent with Cmd+Enter steers into the running turn, so the edited message should be saved and steered into the running turn too, the same as pressing the row's Send now.

Actual behavior

The edit is saved, but the message stays queued (dashed bubble with Send now) and waits for the turn to end. The steer request is dropped with no feedback. Steering it takes a second click on Send now.

Cause: while a queued message is being edited, onSend in apps/web/src/components/chat/useComposerSend.ts sends every submit to queuedRunEdit.saveEdit and drops the dispatch mode. The steer that Cmd+Enter resolves to never reaches the queue.

Impact

Minor bug or occasional failure

Version or commit

Nightly v0.1.10-nightly.20261116.4761; same code on main at 45dedf2955

Environment

macOS, web client from source (same web code as desktop), Claude provider (Haiku 5.5)

Logs or stack traces

No error. The client sends only queued-run.edit, no queued-message.promote-to-steer.

Screenshots, recordings, or supporting files

Editing the queued message After Cmd+Enter
Editing the queued message in the composer The edited message is still queued with Send now

Workaround

After saving the edit, press Send now on the queued message, or Cmd+Shift+Enter (thread.steerQueuedMessage) when it is first in the queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions