Skip to content

Windows: minimize to tray (v0.31.0) - #63

Merged
TheJakeBraun merged 1 commit into
mainfrom
feat/minimize-to-tray
Oct 26, 2026
Merged

TheJakeBraun merged 1 commit into
mainfrom
feat/minimize-to-tray

Conversation

@TheJakeBraun

Copy link
Copy Markdown
Contributor

Jake, after v0.30.1: Airclone also needs a way to minimize to the tray on Windows.

  • Settings → Tray → Minimizing the window hides it to the tray: Windows only, off by default, saved as minimize_to_tray. It's greyed out without a tray icon.
  • Dart sends the effective value (setting and tray up) to the runner over airclone/window setMinimizeToTray. The runner checks that the argument is a bool.
  • FlutterWindow::MessageHandler: on WM_SIZE / SIZE_MINIMIZED with the flag on → SW_HIDE. Tray Open and a second launch go through ShowAndFocus, which already restores an iconic window.
  • Tests: the setting persists, the effective value needs both the setting and a tray, and the switch is Windows-only and greyed out without a tray. Docs, changelog, 0.31.0+165, dev/releases/v0.31.0.md.

Drafted by a sandboxed Codex agent; reviewed, trimmed and applied by Claude.

🤖 Generated with Claude Code

Opt-in Settings → Tray switch, off by default. The runner hides the
window on SIZE_MINIMIZED while the setting is on and the tray is up;
the tray's Open and a second launch restore it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@TheJakeBraun
TheJakeBraun merged commit e2ed606 into main Oct 26, 2026
16 of 17 checks passed
@TheJakeBraun
TheJakeBraun deleted the feat/minimize-to-tray branch October 26, 2026 03:08
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