anomalyco / anomalyco/opencode

[Bug] GUI: finished task output slowly replays after long desktop lock; switching sessions renders instantly

Open
#45,863 1 comment 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Aug 28, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
Avg merge
7h 2m
Merged PRs (30d)
384

Description

Description

On Windows 11 with the opencode GUI (desktop app), if the desktop is locked for a long period (e.g. 1+ hour) while a task is running, the task actually completes during the lock. But after unlocking, the current session's text still appears to "stream" slowly onto the screen, as if it were still being typed out — even though the task finished long ago.

Switching to another session and then switching back makes the full output appear instantly, which confirms the data was already there; only the rendering was stuck.

Plugins

None

OpenCode version

1.18.23

Steps to reproduce
  1. Start a long-running task in the opencode GUI on Windows 11.
  2. Lock the desktop (Win+L) and leave it locked until the task completes.
  3. Unlock the desktop and return to opencode.
  4. Observe: the session text continues to print slowly onto the screen, although the task has already completed (status shows done).
  5. Switch to another session, then switch back to the original session.
  6. Observe: the completed output now renders instantly.
Screenshot and/or share link

No response

Operating System

Windows 11 (build 26100, 24H2)

Terminal

N/A — opencode GUI (desktop app)

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.