Skip to content

Desktop: session switch shortcuts (Alt+↑/↓) do nothing in the new tab layout #48603

Closed as not planned

Description

@sunhailin12315

Description

In OpenCode Desktop with the new tab-based layout (settings → General → new layout design enabled, session tabs in the title bar), the documented/expected shortcuts for switching between session tabs — Alt+↑ (previous) / Alt+↓ (next) — have no effect.

These keybinds are registered only in the legacy sidebar layout (packages/app/src/pages/layout.tsx, commands session.previous / session.next). The new layout (packages/app/src/pages/layout-new.tsx + Titlebar in packages/app/src/components/titlebar.tsx) registers only tab.new, tab.close, and tab.reopenClosed — there is no command to move to the previous/next tab, so nothing handles Alt+↑/Alt+↓.

Additionally, the "Go" menu still lists "Previous Session" / "Next Session" entries with the Alt+↑/Alt+↓ keybinds shown, but the commands are not registered in this layout, which is misleading (menu items are effectively dead and the displayed shortcut suggests it should work).

Plugins

No response

OpenCode version

1.18.30

Steps to reproduce

  1. Open OpenCode Desktop and enable the new layout design (tabs in the title bar).
  2. Open two or more session tabs.
  3. Press Alt+↑ / Alt+↓ (macOS: Option+↑ / Option+↓).
  4. Observe: no tab switch happens.
  5. Open the command palette (Ctrl/⌘+K) and search for "next session"/"previous session" — the commands are missing/disabled.

Screenshot and/or share link

No response

Operating System

windows10

Terminal

No response

Activity

  1. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

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

Metadata

Metadata

Assignees

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