Media keys affecting Teams web app.
I am listening to music.
I have teams opened in a Chrome tab.
I press pause/play to stop the music playback.
I expect music to stop playing.
Actually music continues to play and Teams web app is starting to call whoever is on my teams tab.
I would like the Teams app to be unaffected by media keys or at least have an option to toggle their interactivity.
for those who come back to this page regarding this issue
You can find a workaround that currently works in this link
It seems like they have not only not even fixed this problem, now they might even have deactivated the work we found. this is just stupid.
Samuel Tremblay commented
Same problem here, can't believe this is still an issue after 1½ year ! Thanks to the other users that found a workaround, we definitely can't count on Microsoft to fix issues with their software...
Have been driving me crazy. Easy to disable Volume OSD in Chrome, Edge and Spotify. Impossible in Teams, unless you do this: https://erwinbierens.com/remove-the-annoying-audio-popup-in-the-microsoft-teams-client/
Should be easy enough to make configurable in the client.
This one is so annoying. I also can't use the workaround method suggested, due to my workplace's windows security policies.
Since it's possible to use the "Teams.exe -disable-features=HardwareMediaKeyHandling" workaround method, it should also be possible to add this as a settings toggle within the app. It would be a pretty quick fix!
it is not worth waiting for the developers of teams to fix this issue.
If you are on windows, as @nico mentioned just follow these steps"
--If you have teams icon on your desktop
1. Fully Close the Teams app.
2. right click on the Icon and pick "properties"
3. replace "teams.exe" with "Teams.exe -disable-features=HardwareMediaKeyHandling" inside the "Target" then press "OK
4. open teams app and you should be fine now
--If you don't have the teams on your desktop,
2.right click on teams icon in the task bar
3. right click on "Microsoft Teams" and choose "properties"
4. replace "teams.exe" with "Teams.exe -disable-features=HardwareMediaKeyHandling" inside the "Target" then press "OK"
5. open teams app and you should be fine now
Oliviero Chiodo commented
The fact that there even is a switch to disable it, must mean that even the developers using it are irritated by it. What an embarrassing abuse of media session. This is like using a chainsaw to drive nails.
Alex Kwitny commented
Is this a joke? Why isn't this fixed yet
Ben Pearson commented
Even though it is such a laughable feature to begin with, @Nico posted the Windows workaround, Linux is very similar....
1. sudo vim /usr/share/applications/teams.desktop
2. Change the "Exec" line to: teams -disable-features=HardwareMediaKeyHandling %U
4. Restart teams
And we can get back to happy chatting and listening to music.
I'm almost having the same problem on the desktop version. The desktop version just starts the calling song while nobody is calling when pressing pause/resume... So annoying and I don't see the value of playing the microsoft calling song while nobody is calling.
These are not the only complaints.. Teams also auto mutes your spotify desktop version when being called with no option to disable it. EVEN when you pause the music yourself before entering the call. Teams just mutes your spotify in your sound settings and can only be unmuted by right clicking the sound icon in the right bottom and opening the volume mixer. So everyday I have to keep that annoying volumemixer window open.
Teams has a hard time to find old posts. Sometimes it could take a couple of minutes. Which just makes clear it has a BAD backend design.
Teams has several bugs while screensharing. Sometimes the other person doesn't see the screen at all when requested.
Discord would be a better option. Even if it is not meant for my work.
David Pratt commented
Dumbest "feature" I've ever seen. Who in the right mind thinks Teams chat is some form of media to be played and paused at will? And yet you all will never fix it because Microsoft doesn't fix products that no one pays directly for.
It's embarrassing that this is still still still still an issue
Haraldo Klingheim commented
Why is this still an issue over a year later it was reported? Microsoft is one of the biggest companies in the world, Teams is one of the biggest virtual-meeting apps (for most people) in the world and it cannot fix this emrassing "bug" ? As many has pointed out, why does Teams have access to the media keys? Makes little to no sence.
What a disaster!
@Nico, current shortcut is ..\AppData\Local\Microsoft\Teams\Update.exe --processStart "Teams.exe" , how to add your HardwareMediaKeyHandling to that?
How is this still a thing? Embarrassing! Does anyone have a work around on macs? It's my work machine so "don't use mac" is not an answer.
It's embarrassing that this is still an issue, going to repost the Windows workaround I found to keep others sane:
* Right-click the Teams app in the task bar, then right-click the 'Microsoft Teams' entry in that list, then click Properties
* Edit the Target property so that the --process-start-args flag at the end includes -disable-features=HardwareMediaKeyHandling inside of the quotes
* Fully exit Teams and reopen
Brian H commented
This is the worst feature ever. As soon as a meeting is over and I go to play music, Teams ends up calling the group back. Teams should not have access to media keys.
PLEASE, PLEASE, PLEASE remove this 'feature'.
Used the workaround (startup params) for now but please make this a UI option. I assume this cannot be removed since probably used in conjunction with Hardware that have dedicated Teams buttons but it would be nice to, at least, have a UI option to turn it off.
In macOS Big Sur you can now see from the media dropdown that Teams has itself as a music app. Very annoying
Please fix this