Skip to content

Closing the window can quit Filee (asked once, or in Settings) - #116

Merged
KnifeLemon merged 1 commit into
mainfrom
feature/close-action
Oct 18, 2026
Merged

KnifeLemon merged 1 commit into
mainfrom
feature/close-action

Conversation

@KnifeLemon

Copy link
Copy Markdown
Owner

Closes #111.

Closing the main window used to always keep Filee running in the tray. Now:

  • First close asks "Keep Filee running?" with Keep in tray / Quit / Cancel and a Don't ask again checkbox. The answer is saved only when the checkbox is ticked.
  • Settings → General → "When I close the window": Ask every time (default) / Keep Filee running in the tray / Quit Filee. The page follows an answer saved from the dialog while it is open.
  • AppSettings.CloseAction is read with the lenient enum converter, so a value from a newer Filee reads as Ask. No schema change.
  • Only the title bar's close button and Alt+F4 use the setting. Close() from code still only hides the window, as before.

Tests: dialog answers (tray with "Don't ask again", cancel, ask again), General page choice, settings round trip and an unknown value, and render screenshots of the dialog in en/ko/zh-CN.

🤖 Generated with Claude Code

Closing the main window used to always keep Filee in the tray. Now the
first close asks "Keep in tray / Quit" with "Don't ask again", and
Settings → General has "When I close the window": ask every time, keep
running in the tray, or quit. A value from a newer Filee reads as Ask.
Close() from code still only hides the window.

Closes #111.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KnifeLemon
KnifeLemon merged commit e2dbc00 into main Oct 18, 2026
5 checks passed
@KnifeLemon
KnifeLemon deleted the feature/close-action branch October 19, 2026 12:55
@KnifeLemon KnifeLemon added the feature New features label Oct 20, 2026
@KnifeLemon KnifeLemon self-assigned this Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exit the program when the main window is closed.

1 participant