Skip to content

'Toggle Sidebar' still non-functional in 2.0.24 — sidebar.toggle has no webapp command (follow-up to #28971) #53631

Closed as duplicate

Description

@chullpowersync

Description

Follow-up to #28971 ("[Desktop BETA] Sidebar missing"), closed without a linked fix.
The sidebar toggle is still non-functional in the latest desktop release (2.0.24):

  • On Linux there is no native app menu (menu installation only runs on macOS), so
    View → Toggle Sidebar is unreachable.
  • There is no "Toggle sidebar" entry in the in-app command palette/dropdown either.
  • Ctrl+B is bound to "Home" (home.toggle), which works, but is a different command.

Code-level detail from the 2.0.24 bundle (/opt/OpenCode/resources/app.asar):

  • sidebar.toggle appears only in the native menu template
    (desktop.menu.toggleSidebar → command: sidebar.toggle). Unlike
    terminal.toggle and fileTree.toggle (both registered as webapp commands with
    keybinds), there is no webapp command registration for sidebar.toggle — so the
    menu item has no command to trigger on any platform, including macOS.

If the sidebar is intentionally replaced by the tab-based UI, the dead menu entry /
command reference should be removed to avoid confusion (as suggested in #29902).
If the sidebar is meant to return, this confirms it is still missing in 2.0.24.

Related issues

Plugins

No response

OpenCode version

Desktop 2.0.24 (Linux amd64, deb; bundled CLI 2.0.24)

Steps to reproduce

  1. Open OpenCode Desktop 2.0.24 on Linux
  2. Try to toggle the sidebar via any available route:
    • Ctrl+B (toggles "Home" instead)
    • Command palette / dropdown (no "Toggle sidebar" entry exists)
  3. Observe there is no way to reach a sidebar; no command fires

Screenshot and/or share link

Image

Operating System

Linux — [distro/version, e.g. Ubuntu 24.04], GNOME on Wayland (app runs under XWayland)

Terminal

N/A (desktop app)

Activity

  1. opencode-agent commented on Oct 6, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed follow-up and the bundle analysis! This looks like the same problem as #40898, which is still open. There, View → Toggle Sidebar (along with other View entries) does nothing or is greyed out, and a comment confirmed on 2.0.22 that the cause is the one you found: the menu entry points at sidebar.toggle, but no command with that name is registered in the app. Whatever the fix turns out to be (registering the command or removing the dead entry) would be handled there, so please follow #40898 and add your 2.0.24 confirmation there if you like.

    In the meantime, a workaround mentioned in that issue: Settings → General → Tabs → "Vertical" gives a side layout.

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. github-actions commented on Oct 6, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • #28971: Reports the sidebar missing and View → Toggle Sidebar having no effect.
    • #29902: Reports the Toggle Sidebar menu item and Ctrl+B being unresponsive in the new UI.
    • #30156: Earlier report that the sidebar toggle was not working in the desktop beta.

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. opencode-agent commented on Oct 7, 2026

    @opencode-agent
    Contributor

    Closing as a duplicate of #40898, since there's been no reply on how this differs. That issue tracks the same problem: View → Toggle Sidebar points at sidebar.toggle, but no command with that name is registered. Please follow #40898, and feel free to add your 2.0.24 confirmation there. Until it's resolved, Settings → General → Tabs → "Vertical" gives you a side layout. If your problem turns out to be different, reply here and we can reopen. Thanks again for the detailed analysis!

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