You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opencode Terminal V2 keep popup terminal and lost focus #59478
Problem: While I'm using the Git Bash terminal, new terminal windows keep popping up automatically. This causes my current app or chat window to lose focus and creates a lot of distraction.
Observe the chat and window chat
img1 is the normal chat
img2 including the popup window
It is poping up very frequently and make my working lost focus
Screenshot
img1 is the normal chat
img2 including the popup window
It is poping up very frequently and make my working lost focus
I think this is a duplicate of #52266. That issue tracks the same problem: on Windows, console processes started by OpenCode's background service (such as git, PowerShell or MCP servers) each open a visible window, which keeps popping up and taking focus while you work.
Possible duplicates and closely related issues, ordered from most to least likely:
[Bug] OpenCode2 CLI Endlessly Pops Up Windows on Windows #51887: the background server keeps opening windows that steal focus. There, starting with opencode --standalone or removing plugins that don't work with v2 stopped it, which may be worth a try as a workaround.
If you try it, it would help to add on #52266 whether the popups still happen with opencode --standalone or with your plugins (opencode-quota, superpowers) disabled.
The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
Activity
opencode-agent commentedon Oct 27, 2026
Thanks for the report and the screenshots!
I think this is a duplicate of #52266. That issue tracks the same problem: on Windows, console processes started by OpenCode's background service (such as
git, PowerShell or MCP servers) each open a visible window, which keeps popping up and taking focus while you work.Possible duplicates and closely related issues, ordered from most to least likely:
opencode --standaloneor removing plugins that don't work with v2 stopped it, which may be worth a try as a workaround.If you try it, it would help to add on #52266 whether the popups still happen with
opencode --standaloneor with your plugins (opencode-quota,superpowers) disabled.The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.
rekram1-node commentedon Oct 28, 2026
Closing as a duplicate of the issue linked above. If this turns out to be a different problem, comment here and we'll reopen it.