Skip to content

Remote Web UI terminal custom titles revert after snapshot, refresh, or restart #17640

Closed

Description

@JasonJarvan

Problem

Renaming a terminal tab in the Remote Web UI updates only the current client. The next session.tabs host snapshot restores the old title, and the rename is also lost after refreshing either Web client or restarting the headless Orca host.

Root cause

The Web renderer stores a rename in local TerminalTab.customTitle / unified-tab customLabel, but session.tabs.setTabProps currently carries only color, isPinned, and viewMode. The headless runtime therefore never updates the workspace session or the authoritative subscription snapshot with the custom title.

Expected behavior

  • A rename from one Remote Web UI client is published to every subscribed Web client.
  • The custom title survives client refresh/reconnect.
  • The custom title survives an Orca headless-host restart and cold session rehydration.
  • Clearing a custom title restores normal generated/default-title resolution.

Proposed scope

  • Extend the existing session.tabs.setTabProps path with nullable customTitle (optional = unchanged, null = clear).
  • Mirror the Web renderer rename action to the owning runtime host.
  • Persist terminal customTitle in the headless workspace session and include it in emitted subscription snapshots.
  • Add RPC/runtime/renderer coverage plus a two-Web-client refresh/restart regression test.

Activity

  1. added
    bug
    orca-remote-server
    on Sep 19, 2026
  2. added theissue type on Sep 19, 2026
  3. bettercallzaal commented on Oct 25, 2026

    @bettercallzaal

    Same symptom on the desktop app, set through the CLI rather than the Remote Web UI. Possibly the same root cause, since the title never reaches persisted session state.

    Version: Orca 1.4.240, macOS 26 (Darwin 25.5.0).

    Repro, seen twice on 2026-10-25:

    1. Rename terminal tabs with orca terminal rename --terminal <handle> --title "<text>". Each returns ok, and orca terminal list shows the new titles.
    2. The Orca app's main process restarts. The terminal-host daemon keeps running, from the day before.
    3. After the restart, orca terminal list shows renamed tabs either as (untitled) (first restart) or back at the title they were created with (second restart, where those tabs also came back with new handles). The CLI renames are gone in both cases.

    Expected: a title set with orca terminal rename persists across an app restart, just as the session does.

    Not the cause, checked: the Claude Code hook script Orca writes at startup. Neither its old nor its new form sets a title or emits an OSC title escape.

  4. AmoabaKelvin commented on Nov 17, 2026

    @AmoabaKelvin
    Collaborator

    This is fixed on main and shipped in v1.4.261: Tab renames now live on the host and reach every client, including renames from the CLI (#30037).

    Please update to the latest Orca and try again. If you still see it, comment here and we'll reopen.

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

Metadata

Metadata

Assignees

Labels

bugorca-remote-server

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions