gillesdemey / Cumulus

☁️ A SoundCloud player that lives in your menubar.
http://gillesdemey.github.io/Cumulus
MIT License
1.43k stars 123 forks source link

Cumulus "steals" play/pause buttons on MacBooks #45

Closed andersfischernielsen closed 8 years ago

andersfischernielsen commented 8 years ago

The keyboard play/skip/pause buttons on Macs are "stolen" from other apps supporting these when Cumulus is running.

If iTunes/Spotify is running, has been playing sound most recently, and Cumulus is open, the play/pause/skip buttons should control iTunes/Spotify (regular system behaviour). They do not, though. Cumulus is always reacting to the button presses, and iTunes/Spotify does not.

jdsimcoe commented 8 years ago

Personally, I like that they "steal" the default play/pause buttons. I think this is one of its selling features.

andersfischernielsen commented 8 years ago

The default system behaviour is that the most recently used app reacts to the play/pause/skip buttons.

Say you have Spotify and iTunes open, and you've used Spotify most recently. Then iTunes won't start playing if Spotify is active/in focus.

IMO Cumulus should do the same, since it's system behaviour.

gillesdemey commented 8 years ago

Cumulus cannot change the behaviour of how the global key listeners are set up (see #19), if you think that this is still an issue please file one with Electron :)

andersfischernielsen commented 8 years ago

Cool, thanks for addressing this. :)