dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
913 stars 46 forks source link

macOS hide window on close instead of quit app #93

Open bbsixzz opened 1 year ago

bbsixzz commented 1 year ago

Please consider just hiding the window on close instead of stopping playback and quitting the app.

Incidentally + Q works to quit the app but + W does nothing (should preferably hide window).

Maybe add Shift + ? in the future for a list of keyboard shortcuts like e.g. Navidrome?

Screenshot 2023-03-22 at 04 10 35

Excellent work so far by the way, many thanks.

dweymouth commented 1 year ago

I would definitely like to add this behavior. At the moment it is blocked by this issue upstream. Eventually I'll get around to looking into it myself if it's not resolved but for now new features in Supersonic is my priority!

dweymouth commented 1 year ago

System tray support, including close to tray, will be in the next release, which is kind of a partial implementation of this. Unfortunately it currently requires the system tray for hide-window-on-close behavior but hopefully soon I can make this behavior standard for Mac OS even if the system tray is not enabled.