jonaskohl / CapsLockIndicator

A small utility that indicates the state of the Num lock, Caps lock and Scroll lock key.
https://cli.jonaskohl.de/
Apache License 2.0
338 stars 43 forks source link

Feature Request: Hide CLI options window when hitting close window button control #19

Closed Yetoo1 closed 5 years ago

Yetoo1 commented 5 years ago

It would be great if the close window window control would just hide the window instead of exiting out of the application. This is especially true when you have just been updating the startup processes rather than downloading a new executable. This leads to redundant updating when accidentally hitting the close window control when expecting it to just hide the window. Also, I expect that an option window for a service to be independent from the service itself except for the options within the window. I was expecting the window to be an interface to the application and not the service itself which is closed like a GUI application.

jonaskohl commented 5 years ago

This was the case until 3.3.2.0, but it prevented the computer from properly shutting down when Windows tried to close all open programs, and it would lock up. So I removed that feature.

Yetoo1 commented 5 years ago

Couldn't you use CloseReason?

Yetoo1 commented 5 years ago

I created a pull request that has behaviour as described in my request. This shouldn't lock up windows and it allows the program to function when the close window window control is pressed.

jonaskohl commented 5 years ago

Implemented in 3.7.0.0