anomalyco / anomalyco/opencode

Desktop: Plan/Build buttons not visible until switching tabs

Open
#40,288 2 comments 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 3, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Bug report

In OpenCode Desktop, the agent mode Plan/Build buttons are not visible until you switch tabs. After switching to another tab and back, the buttons appear.

Environment
  • OpenCode Desktop version: 1.18.11
  • OS: Linux (CachyOS), Wayland
  • Install: AppImage (Electron)
Steps to reproduce
  1. Start OpenCode Desktop in a fresh session (or after a restart).
  2. Look at the composer/input area — the Plan and Build buttons are not shown.
  3. Switch to another tab and back (or open a new tab).
  4. The Plan/Build buttons now appear and stay visible.
Expected behavior

The Plan/Build buttons should be visible immediately when the app starts, without needing to switch tabs.

Actual behavior

The buttons only render after a tab switch forces a re-render. This happens every time the app is restarted (the state is not persisted).

Notes
  • The buttons exist in the settings (general.showCustomAgents = true in the desktop app's default.dat); they just do not paint until a tab change triggers a redraw.
  • Possibly related to the newLayoutDesigns / layoutTransitionEligible settings observed in the desktop app config.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.