Skip to content

fix(desktop): default close button to minimize to system tray#776

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/default-close-button-minimize-to-tray
May 19, 2026
Merged

fix(desktop): default close button to minimize to system tray#776
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:fix/default-close-button-minimize-to-tray

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 19, 2026

Summary

  • Change the default app.close_button_behavior from quit to minimize_to_tray in core config defaults.
  • Align Windows/Linux close-handler and settings UI fallbacks with the new default when the config key is missing or unreadable.

Test plan

  • Fresh install (or delete app.close_button_behavior from config): click window close on Windows/Linux → main window hides to tray, app keeps running.
  • Settings → Basics → Close button action shows Minimize to System Tray by default.
  • Set behavior to Quit and save → close button exits the app.
  • macOS: close button still hides to Dock (unchanged).

New installs and missing config now hide the main window to the tray
instead of quitting on Windows/Linux. Users who already saved quit
keep their preference.
@bobleer bobleer merged commit 8fddb25 into GCWing:main May 19, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant