PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Closing main window will close entire application instead of minimize to tray at first run after updating PowerToys

Open jh961202 opened this issue 2 years ago • 1 comments

Microsoft PowerToys version

0.62.1

Running as admin

  • [X] Yes

Area(s) with issue?

General

Steps to reproduce

Description: PowerToys will automatically open main window and changelog after each update, but if user choose to close the main window at this moment, the whole app will exit entirely ( icon disappear from system tray, along with all PowerToys function stop working such as PowerToys Run ) instead of minimizing to tray. This issue only happens on first run after version update, it won't happen again after re-launching PowerToys manually.

Ways to produce:

  1. Install an old wersion, such as v0.62.0
  2. Use built-in update function to finish update progress until seeing changelog and main window popup
  3. Close both window and see the described error.

✔️ Expected Behavior

PowerToys should remain running in the background and can be access from system tray ( so-called "minimized to tray" )

❌ Actual Behavior

PowerToys exits entirely, amking all PowerToys-related function stop working.

Other Software

No response

jh961202 avatar Sep 16 '22 01:09 jh961202

(Yup, this is getting annoying, having PowerToys exit on window close after each update...)

wiz0u avatar Sep 17 '22 21:09 wiz0u