Brain.fm-Desktop-Client icon indicating copy to clipboard operation
Brain.fm-Desktop-Client copied to clipboard

Closing window on Mac

Open fuzzy76 opened this issue 6 years ago • 3 comments

Closing the window stops the audio immediately, but the app keeps running. And there is no way to open a new window.

I would suggest just hiding the window on close and reveal it when the dock icon is clicked.

fuzzy76 avatar Dec 10 '18 14:12 fuzzy76

Is that more in line with the typically expected Mac behavior? I'll have a look at it soonish.

Dinius avatar Dec 10 '18 15:12 Dinius

It's... sort of complicated. :-P

The convention for macOS have traditionally been that document-centric apps (ie. multi-window apps) should not quit when all documents are closed, but keep running. Other apps (ie. single-window apps) quit when the window is closed. But this is not mandated in the Apple Human Interface Guidelines. I just checked, and was actually surprised it wasn't.

However, a lot of apps have adopted the multi-window behaviour for single-window apps. Especially when the apps are of a type which users generally want to run in the background. A lot of applications also have a settings for determining wether they should quit or just hide when the window is closed. I don't think Brain.fm needs a setting. It just needs to choose on or the other, and my vote is for "hide". :) This is also how iTunes itself works, which I guess is pretty comparable.

https://support.apple.com/guide/mac-help/manage-windows-mchlp2469/mac https://developer.apple.com/design/human-interface-guidelines/macos/windows-and-views/window-anatomy/

fuzzy76 avatar Dec 11 '18 11:12 fuzzy76

Any chance of getting some movement here? The current behaviour is pretty broken TBH.

fuzzy76 avatar Sep 23 '19 10:09 fuzzy76