Skip to content

[BUG] Opencode desktop hangs after every edit. #9708

Closed as not planned
Closed as not planned

Description

@sadbath

Description

On any model, after it has edited some code (whether it be a few hundred lines, to 1-2 lines.) the editor hangs till I manually kill it. This is for the latest updated OpenCdoe Desktop

Plugins

No response

OpenCode version

Latest available on Desktop

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Activity

  1. github-actions commented on Jan 20, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. aditi27004 commented on Jan 21, 2026

    @aditi27004

    Last few releases have been mad unstable.

  3. itzrnvr commented on Jan 21, 2026

    @itzrnvr

    It happens for me randomly. I was using antigravity sonnet 4.5 and then when I switched to gh copilor sonnet, it kept getting stuck.

  4. RogerYe commented on Feb 11, 2026

    @RogerYe

    me too.
    Win10, 1.1.53, 1.1.55, 1.1.56

    How can i get the old version?

  5. RogerYe commented on Feb 11, 2026

    @RogerYe

    I found the 1.1.52 works fine.
    get that from : https://github.com/anomalyco/opencode/releases/tag/v1.1.52

  6. RogerYe commented on Feb 11, 2026

    @RogerYe

    以下是用opencode分析此问题后得到的结论:

    根据我的分析,最可能导致问题的是这个改动:

    "Hide prompt input when there are permissions requests or questions"

    问题机制:

    1. 编辑文件后,系统需要权限确认(如写入外部目录)
    2. v1.1.53 引入了新的逻辑:当有权限请求时隐藏提示输入
      3.在 Windows 桌面端,这个逻辑可能存在问题:
      权限请求被触发但 UI 没有正确显示
      或者提示输入被隐藏后没有正确恢复
      导致整个流程阻塞等待用户响应,但用户看不到请求
  7. cpkt9762 commented on Feb 25, 2026

    @cpkt9762

    +1

  8. aviral-agarwal commented on Mar 3, 2026

    @aviral-agarwal

    +1
    opencode version 1.2.15 on wsl (windows)
    keeps hanging while writing prompts

  9. KeroZhai commented on Apr 8, 2026

    @KeroZhai

    This is likely due to a network issue. OpenCode will attempt to download the corresponding LSP Server. In my case it's Java LSP(JDTLS), and after I provide it manually, everything works fine.

  10. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  11. github-actions commented on Jul 6, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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