Skip to content

[Bug] Desktop App v1.18.1 new layout hides agent (Plan/Build) switching UI #36997

Closed as not planned

Description

@yesok99

Description

Description

After auto-updating to v1.18.1 Desktop App, the new layout design (newLayoutDesigns: true) hides the agent switching indicator (Plan/Build mode toggle) in the UI. Users cannot see which agent is active or switch between Plan and Build mode.

The Tab key is also intercepted by the desktop webview for UI focus navigation and does not cycle agents.

Workaround found: Setting newLayoutDesigns: false and showCustomAgents: true in the desktop app settings (default.dat → settings.v3) restores the agent switching UI.

Plugins

None

OpenCode version

1.18.1 (desktop app, macOS arm64)

Steps to reproduce

  1. Use the Desktop App (not terminal TUI)
  2. Let it auto-update to v1.18.1
  3. Notice the bottom-right corner no longer shows the agent (Plan/Build) indicator
  4. Press Tab — it moves UI focus instead of cycling agents
  5. Press Cmd/Ctrl + . — no visible feedback

Expected Behavior

  • The agent indicator (Plan/Build) should be visible in the UI
  • Tab (or agent.cycle keybind) should switch between Plan and Build mode

Screenshot and/or share link

N/A

Operating System

macOS (Apple Silicon)

Terminal

Desktop App (Tauri/WebView wrapper)

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor

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

    For keybind-related issues (Tab key, Cmd/Ctrl+. agent cycling), please also check our pinned keybinds documentation: #4997

  2. elijahshepherd commented on Jul 15, 2026

    @elijahshepherd

    You can toggle via the setting under advanced.

    Image
  3. loong024 commented on Jul 15, 2026

    @loong024

    The new UI makes switching between multiple projects cumbersome.

  4. hkmute commented on Jul 15, 2026

    @hkmute

    why is it hidden by default

  5. ArkPLN commented on Jul 15, 2026

    @ArkPLN

    You can toggle via the setting under advanced.

    Image

    Thanks,it works!
    But i still wanna mention that I try to call agent itself to switch the mode but failed. The system prompt may not adapt the new workspace GUI well.
    Maybe developers should make a smooth migration from old to new.

  6. elijahshepherd commented on Jul 15, 2026

    @elijahshepherd

    why is it hidden by default

    Unknown

    The new UI makes switching between multiple projects cumbersome.

    I think it's better. Developers should add a setting that lets users configure it however they want, so everyone is comfortable.

  7. darkine24th commented on Jul 15, 2026

    @darkine24th

    its ok to have multiple layouts. but they say they want to remove the old one. I think its really better if they keep it so ppl be able to use it if they dont like the new layout

  8. xiaoyuzaijia commented on Jul 15, 2026

    @xiaoyuzaijia

    I dont like new layout。It hard to use and ugly。

  9. gabizdini commented on Jul 15, 2026

    @gabizdini

    You can toggle via the setting under advanced.

    Image

    Divou, muito obrigada!

  10. semidark commented on Jul 16, 2026

    @semidark

    you can enable the old layout in with a workaround in versions > 1.18.0

    1. Downgrade opencode to 1.17.20 opencode upgrade 1.17.20
    2. Use the still existing toggle in the settings to disable new layout
    Image 3. Upgrade to latest version `opencode upgrade` 4. Run `opencode serve` or `opencode web` to enjoy all still missing features from the new UI. Image

    I also have to say. If the new UI would not be so buggy and support workspaces well i am definitely willing to change. I like a few design decisions. But in the current status it is quite unusable. No Commnd Pallete and thus no way to toggle terminal.

  11. Scintsz commented on Jul 17, 2026

    @Scintsz

    The new UI is quite confusing and differs significantly from what users expect when compared to similar tools, such as Claude Desktop.

  12. thedanielmay commented on Aug 14, 2026

    @thedanielmay

    Supporting this, and adding that the web UI (opencode web, browser) is affected by the same root cause, not just the desktop app.

    Verified against the served web bundle (v1.18.18):

    • The composer's agent selector is gated on showCustomAgents (Settings -> General -> "Show agent"), which defaults to off.
    • Its own settings description states the consequence: "When hidden, defaults to Build agent."
    • So a browser user with the default config has no visible way to switch Plan/Build in the composer. mod+. / shift+mod+. (agent.cycle) also do nothing until the setting is flipped.

    Workaround that works in the browser: enable Settings -> General -> "Show agent", then the Plan/Build dropdown appears and mod+. cycles. Same root cause and fix as the desktop issue.

    Request: surface the Plan/Build switcher by default (or expose agent cycling independently of showCustomAgents), so the guardrail isn't hidden behind an off-by-default flag on every surface.

  13. 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