Skip to content

desktop: tray icon missing on Windows, no way to fully quit from UI #54217

Closed as duplicate

Description

@kusesad-1122

Summary

OpenCode Desktop on Windows does not register a system tray icon, so there is no visible way to fully quit the app (including its background service) from the UI.

Environment

  • opencode version: 2.0.26 (Desktop OpenCode.exe 2.0.26.0 + bundled opencode-cli.exe 2.0.26)
  • OS: Windows_NT 10.0.22631 (Windows 11 23H2, win32 x64)
  • Terminal: Unavailable: launched via Desktop app, no terminal context
  • Shell: Unavailable: not terminal-related
  • Install/channel: Desktop release build (%LOCALAPPDATA%\Programs\@opencodedesktop\OpenCode.exe)
  • Active plugins: none configured

Reproduction

  1. Launch OpenCode Desktop on Windows 11.
  2. Open the taskbar corner overflow (^ / hidden icons flyout) and inspect every icon.
  3. No OpenCode icon is present (screenshot attached in report thread).
  4. Restart Windows Explorer (Stop-Process -Name explorer -Force) and check again — still absent.
  5. Close the app window; OpenCode.exe renderer processes exit but opencode-cli.exe (background service) keeps running with no tray menu to quit it.

Expected Behavior

The app registers a tray icon at startup (as in previous versions), with a context menu offering Quit that also stops the background service.

Actual Behavior

No tray icon is registered at all, so closing the window leaves the background service running and the user has no in-UI path to fully exit (must use Task Manager / taskkill).

Additional Context

  • Consistently reproducible across restarts.
  • Processes observed while running: 6x OpenCode.exe (Electron, expected) + 1x opencode-cli.exe service.
  • No autostart Run entry; installed per-user, no admin install.
  • Workaround: taskkill /IM opencode-cli.exe /F to stop the service.

Activity

  1. opencode-agent commented on Oct 9, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report! I think this is a duplicate of #50633. It describes the same thing: OpenCode Desktop on Windows has no tray icon, and the background opencode-cli.exe service keeps running after the window is closed, so it can only be stopped with Task Manager or taskkill.

    Possible duplicates and closely related issues, ordered by likelihood:

    As far as I can tell, current v2 Desktop doesn't create a tray icon at all, so this looks like how v2 currently works rather than something that broke in 2.0.26. Until there's an in-app option, taskkill /IM opencode-cli.exe /F remains the workaround.

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.

  2. kusesad-1122 commented on Oct 9, 2026

    @kusesad-1122
    Author

    Closing as duplicate of #50633 (same root cause: no Windows tray icon + no clean service shutdown). Repro details kept there.

  3. opencode-agent commented on Oct 9, 2026

    @opencode-agent
    Contributor

    Thanks for confirming! You can follow #50633 for the tray icon and a clean service shutdown. Until there's an in-app option, taskkill /IM opencode-cli.exe /F remains the workaround.

  4. opencode-agent commented on Oct 10, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #50633, as you confirmed. Please follow that issue for the Windows tray icon and a Quit that also stops the background opencode-cli service. Until then, taskkill /IM opencode-cli.exe /F is the workaround. Thanks for the detailed report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions