Skip to content

Desktop app: Console window flashes repeatedly even while idle (CREATE_NO_WINDOW missing) #22414

Description

@heart-ktf

Description

On Windows, a black console/terminal window briefly appears and disappears at regular intervals. This happens even when no prompt is sent — the app is idle.

Each flash corresponds to a subprocess invocation (git polling, file watching, LSP communication, etc.) that spawns a console window because the CREATE_NO_WINDOW flag is not set.

Expected behavior
Subprocesses should run silently without creating visible console windows. On Windows, this requires passing CREATE_NO_WINDOW (0x08000000) in ProcAttr.SysProcAttr when calling os/exec.Cmd.Start()

Plugins

No response

OpenCode version

Desktop app v1.4.3

Steps to reproduce

1.Open OpenCode Desktop on Windows
2.Leave the app idle (no prompt sent)
3.Observe black terminal windows flashing on screen periodically

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Activity

added a commit that references this issue on Apr 14, 2026
0b2e62a
removed
bugSomething isn't working
webRelates to opencode on web / desktop
on May 3, 2026

github-actions commented on Jul 3, 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.

Nasnl commented on Sep 25, 2026

@Nasnl

Obviously this is not something that impact everybody, but it is a real issue. I have the windows flashing on my screen sometimes multiple times per minute; very annoying.

I don't have the capability of fixing this, but is there someone who knows a workaround or fix?

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