-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMD+W doesn't close the window on MacOS #103
Comments
I'm not sure this is a bug. IMHO ctrl-w is reserved for closing tabs or windows for applications which have multiple identical components. |
that's for windows. in macos, that's been cmd-w since before windows even existed. |
In that case, this is an upstream issue I believe. If its truly universal, then it should be handled in druid I think |
This could be fixed by adding a hotkey that sends While implementing the cmd+h Note: I am not sure why the default menu is overridden (entirely?) by psst since I don't understand the comment in Lines 23 to 25 in 1d5cf32
|
CMD + W would close the window but leave music running and the "mini player" active in the top OS menu bar. CMD + Q would kill everything. |
This is slightly more difficult than it seems, because i.e. the audio output thread is stored in a |
Thanks for the clarification @jpochyla . I gave it a try and realized that closing the window also stops the music. I have started looking into rust libraries that provide tray icon functionality but didn't yet find anything. Could the |
This should also occur for any windows in the app, like the Settings window. I'm not sure if Windows has a similar convention, but I wanted to note that #443 with Interestingly, |
Reviving this a bit as it would be a super nice feature with potentially minimal effort with the right package. Just looking around for cross-platform tray managers https://github.com/olback/tray-item-rs and https://github.com/tauri-apps/tray-icon seem somewhat maintained and cross platform (at least to gtk on Linux). Does anyone have any additional thoughts on this? |
Shows this in the console:
The text was updated successfully, but these errors were encountered: