Repository navigation
Conversation
"Closing the window minimizes to tray" was on by default and easy to miss, so the task manager kept running after people closed it. Now closing quits, like the stock one, until the first close asks once: Yes = tray, No = quit, Cancel = keep the window. Old settings files get the question once too (tray_asked). The Settings card and the menu switch still flip it any time.
This was referenced Nov 24, 2026
Lemxy
added a commit
that referenced
this pull request
Nov 26, 2026
Owner
Lemxy
added a commit
that referenced
this pull request
Nov 26, 2026
RexxColder
pushed a commit
to RexxColder/WinRust
that referenced
this pull request
Nov 26, 2026
Ported from upstream fb39ecd: closing the window used to leave it in the tray with no warning (to_tray defaulted to on), so "close" never closed. Now the first close asks "keep it in the tray when the window closes?" (Yes / No / Cancel), stores the answer (tray_asked) and the old behaviour is one click away in the tray menu; the default is quit, like the stock Task Manager.
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.
What
The first close asks once (Yes = tray, No = quit, Cancel = stay); until then closing quits like the stock Task Manager. Old settings files get the question once (
tray_asked). The Settings card and menu still flip it.The question has no Spanish text here so this stands on
main; it comes with #144 (or I add it to whichever lands second).Test
cargo test -p rtaskmgr-win32(settings round trip; the NVIDIA GPU test needs that hardware).