Skip to content

Desktop: "Toggle Sidebar" doesn't do anything #55536

Open

Description

@ahmetb

macOS app Version 2.0.29 (2.0.29)

The "Toggle Sidebar" doesn't do anything visible? I'm expecting to see a session switcher on the left of the screen maybe, but just getting nothing happening in the app right now.

Activity

  1. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    Contributor

    Thanks for the report! I couldn't reproduce this here because it needs the macOS desktop app, so a maintainer with a Mac will need to confirm it. Reading the code points the same way, both in 2.0.29 and on the latest dev (13afea6): the View → Toggle Sidebar menu item points at a sidebar.toggle command, but nothing in the app registers a command with that name. So the item can't do anything.

    Related issues, ordered by likelihood:

    Until this is sorted out, Settings → General → Tabs → "Vertical" gives you a side layout, which may be closer to the session switcher you were expecting.

  2. ahmetb commented on Oct 14, 2026

    @ahmetb
    Author
    1. Until this is sorted out, Settings → General → Tabs → "Vertical" gives you a side layout, which may be closer to the session switcher you were expecting.

    yeah this is not bad at all

  3. RafaelSFelski commented on Oct 23, 2026

    @RafaelSFelski

    Confirming on Windows x64, desktop 2.1.4 (latest stable, 2026-10-23) — and on Windows it's not just inert: the item is permanently greyed out, because the in-app menubar (packages/app/src/shell/titlebar/windows-menu.tsx) disables any entry whose command id has no registered command, and sidebar.toggle is still not registered anywhere in the v2.1.4 release tag.

    For whoever picks this up: the implementation already exists on beta — #55646 added the toggle (mod+shift+b), #57919 wired the menu accelerator, #58156 added the hover peek — but it isn't on the release line, and there's no beta desktop feed to install from (https://opencode.ai/update/api/latest/desktop/opencode/beta.yml → 404).

    One detail worth deciding: on beta, command.register("sidebar", …) in shell.tsx only runs when appearance.tabLayout is vertical, so with horizontal tabs the View item stays disabled even after those PRs ship. Should the item be hidden in horizontal layout, or should it do something in both layouts? Happy to re-test on Windows once a build includes it.

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