Skip to content

rtaskmgr: closing quits until you choose the tray - #145

Closed
Tkyoxx wants to merge 1 commit into
Lemxy:mainfrom
Tkyoxx:pr/4-taskmgr-tray
Closed

Tkyoxx wants to merge 1 commit into
Lemxy:mainfrom
Tkyoxx:pr/4-taskmgr-tray

Conversation

@Tkyoxx

@Tkyoxx Tkyoxx commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

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).
  • Close the window: the question shows once.

"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.
@Lemxy

Lemxy commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Thank you, @Tkyoxx! Your change is in main (squashed, credited in the commit message) and released in v0.5.9.

@Lemxy Lemxy closed this Nov 26, 2026
Lemxy added a commit that referenced this pull request Nov 26, 2026
…#182

Co-authored-by: 2sulraw <2sulraw@gmail.com>
Co-authored-by: Tkyo0x <240800669+Tkyoxx@users.noreply.github.com>
Co-authored-by: GuilhermeLima <guilhermelimamp2020@gmail.com>
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.
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.

2 participants