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
[FEATURE]: Desktop: Close button should minimize to system tray instead of exiting #18134
Currently, clicking the close button (X) on OpenCode Desktop exits the application completely. Many users expect it to minimize to system tray instead, similar to how other applications like Slack, Discord, or Steam work.
Expected Behavior
Close button should minimize to system tray
The application should continue running in the background
Users can restore the window from the system tray icon
A separate 'Quit' option should be available in the menu to fully exit
Use Case
This is a common workflow for users who want OpenCode to stay running in the background while working in other applications, so they can quickly switch back when needed.
changed the title [-]Desktop: Close button should minimize to system tray instead of exiting[/-][+][FEATURE]: Desktop: Close button should minimize to system tray instead of exiting[/+]on Mar 18, 2026
Thanks for updating the issue! It now looks good — the title has been fixed with the [FEATURE]: prefix and the content clearly explains the problem and use case. The label has been removed and the issue is now compliant.
Activity
github-actions commentedon Mar 18, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:(e.g.[FEATURE]: Desktop: Close button should minimize to system tray instead of exiting)Please edit this issue to address the above within 2 hours, or it will be automatically closed.
If you believe this was flagged incorrectly, please let a maintainer know.
kofzjs commentedon Mar 18, 2026
[-]Desktop: Close button should minimize to system tray instead of exiting[/-][+][FEATURE]: Desktop: Close button should minimize to system tray instead of exiting[/+]github-actions commentedon Mar 18, 2026
Thanks for updating the issue! It now looks good — the title has been fixed with the
[FEATURE]:prefix and the content clearly explains the problem and use case. The label has been removed and the issue is now compliant.Ryker0716 commentedon Mar 22, 2026
+1 macOS needs this feature too
Use case:
macOS-specific needs:
macOS users are already used to this background-running pattern (like the apps above), which is important for productivity tools.
Looking forward to this feature! 🙏
jingbof commentedon Jun 1, 2026
fangfuzha commentedon Jun 7, 2026
need
feat(desktop): add close-to-tray behavior
feat(desktop): add close-to-tray behavior
github-actions commentedon Aug 7, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
feat(desktop): close to tray instead of exiting
shafiqimtiaz commentedon Aug 11, 2026
Need for linux