Repository navigation
fix: closing the last window quits kagan on Windows and Linux - #143
Merged
Merged
Conversation
Closing the last window now runs the same shutdown as Quit, so programs stop and resume on the next open. macOS keeps the app in the Dock. Decision 249.
# Conflicts: # docs/decisions.md
Closing the last window runs the same shutdown as Quit, so programs stop and resume on the next open. macOS keeps the app in the Dock. Decision 264.
# Conflicts: # .config/size-budget.txt # docs/decisions.md
# Conflicts: # .config/size-budget.txt # docs/decisions.md
# Conflicts: # .config/size-budget.txt # docs/decisions.md
On Windows and Linux closing the last window quits kagan, so reopen and keep-running tests are macOS only; the dock count test keeps About open; a non-macOS test covers closing during a question.
Their macOS gates left imports unused on Linux and Windows; both tests passed there before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closing the last window on Windows and Linux now runs the same shutdown as Quit: programs stop and resume on the next open, then kagan exits. macOS keeps the app in the Dock.
crates/ui/src/kagan/quit.rs, reusingaccept. Skipped while a quit is running or confirmed.docs/behaviour.mdCloseupdated.quit.rs).Not yet verified on a real Windows window close; see
.plans/winqa/report-quit.md.