Skip to content

[Desktop] Main content occasionally doesn't refresh when switching projects on the same server #37534

Description

@cyrasafia

Description

In OpenCode Desktop with a single local server and multiple projects, clicking a different project in the left sidebar sometimes leaves the main content area on the previous project's session instead of refreshing. It is intermittent — most switches update correctly, but occasionally the editor/chat area stays on the old project until I click the project again or reload the window.

Plugins

None

OpenCode version

1.18.3 (Desktop, installed via AUR opencode-desktop-bin)

Steps to reproduce

  1. Open OpenCode Desktop with at least two local projects in the sidebar (same server).
  2. Open a session in Project A.
  3. Click Project B in the left sidebar.
  4. Most of the time the main content updates to Project B; occasionally it stays showing Project A's session.
  5. Repeat the switch several times — the stale render appears intermittently.

Screenshot and/or share link

No response

Operating System

CachyOS (Arch Linux), kernel 7.1.3-2-cachyos-bore-lto, x86_64

Terminal

OpenCode Desktop (Electron)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions