Notification sound from Slack registers with the system media controls

Originator:douglashill
Number:rdar://30461192 Date Originated:10-Feb-2017 09:51 AM
Status:Open Resolved:
Product:Safari Product Version:Safari 10.0.3 (12602.4.8) macOS 10.12.3 (16D32)
Classification:Other Bug Reproducible:Always
 
Summary:

I’m using Slack (slack.com) in Safari and when a notification comes in, the notification sound is registered with the system media playback system. This means the play/pause button on the Touch Bar plays the Slack notification sound on demand. This is not a useful behaviour, and blocks the button from doing something useful like controlling iTunes.

I’ve contacted Slack support and they came back with:

> I'm getting back in touch to let you know that I've got some updates from our Mac engineers on this :)
> 
> We've been able to reproduce this behaviour and I've got confirmation that this is controlled by Safari and so unfortunately, it's not something we can fix on our end.

Steps to Reproduce:

1. Be a member of a Slack team
2. Open iTunes with some music in it
3. Play in iTunes
4. Pause in iTunes
5. Go to your team’s Slack in Safari at https://<teamname>.slack.com/
6. In Slack, go to Preferences > Notifications > Send test notification
7. Wait for the sound to finish
8. Press a system media play button (I’m using the Touch Bar)

Expected Results:

iTunes to resume playing. Safari to not be registered with system media playback as this is a short notification sound.

Actual Results:

Plays the Slack notification sound every time you press play. Safari also shows up in the Touch Bar media section (the circle with a bar chart in it).

Regression:



Notes:

Workaround are to use Slack in Chrome or use the Slack desktop app which wraps the webpage. These are not appealing to me.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!