Desktop Application Notification sound not working correctly for both Windows and Mac app
Steps to reproduce
Mattermost Team Version 5.9.0
Application version: 4.2.1
Expected behavior
Posts that should incur notifications such as direct messages or @ mention messages should push app notification in Notification Center (or equivalent in Mac) with sound.
Observed behavior
Notification is pushed for 5 seconds as default setting but no sounds is played.
Notification message/sound is working correctly for web apps (tested with Chrome, Safari, Firefox only Safari didn’t work)
What was done?
Make sure that Account Settings > Notifications > Desktop Notification Sounds is On.
Make sure that Windows Notification Center setting allows notifications message as well as the notification sound.
What Windows and Linux versions are you on?
Would you be open to sharing your Console errors next time you see this issue? Instructions on how to do so can be found here.
On Windows 10, the sound is played by the notification center. Potentially the sound might be muted by some OS settings. Would you be able to check Focus Assist or Notifications & actions settings? Will also investigate other solutions,
I have checked that Mattermost allow both Banners and Sounds notifications. I don’t have Focus Assist on this Windows build and I still receive 5s banner so I don’t think it is a problem with focus.
From the console we found the versions of the desktop app:
The chrome version is older than the version of the browser in which sound notification did work. Could it be that the issue is related to electron or chrome version? Or something unintended when using Chrome and Desktop app at the same time? We did try to kill both Chrome and Mattermost process and start only 1 but it didn’t work.
Edit:Updated: My colleague who uses Mac app did have sound notification working after updated the application to 4.2.1. He was using v4.2.0 actually before. My situation on Windows is still the same though.
@amy.blais Thanks for the ping. Please note that for the future, you may also ping Dean Whillier (when he will have an account on this Discourse instance). He has pretty strong knowledge in the app and may answer better than me.
@LuckyLuke192 I cannot reproduce from my side. On Windows, could you please remove the cache in %AppData%/Mattermost and let us know if this works.
Otherwise, we are only testing the desktop app with the latest Windows 10 version. The current one is 1809. The one you have is a bit outdated (except if you are on the Long-term Servicing channel - formerly LTSB -).
updated Windows 10 to the latest version of 1809 build 17763.437. Double check that the settings in Windows Notification and Settings were not changed.
Killed the Mattermost process, uninstalled Mattermost desktop application, backup the data in %AppData%/Mattermost (just in case), deleted all content of inside the Cache folder, then reinstalled the latest v4.2.1 desktop application.
After trying these, I was still unable to hear any sound notification. I am not sure what other debug logs/info I should look into to find the root cause of the problem. Any ideas?
Used Mattermost command line tool to create a new test user, verify and activate.
Tests done:
1 Have another user on another PC send test user a direct message.
2 Have another user on the same PC but on the web app send test user a direct message.
3 Have the test user send another user on the same PC but on the web app. (not related just to experiment)
Only case number 3 produces a notification sound from the browser (Chrome). Both case 1 and 2 did produce pop up banner notification but NO sound.
Edit: I tried to explore the sound settings of my PC and in the Volume Mixer, I see that Mattermost didn’t show up. I think in this case it is the OS fault and I will try to Google the fix for this. What I’ve tried:
Enabled “Allow applications to take exclusive control of this device”
Ran Mattermost as Administrator
So far still didn’t work but I feel that I am on the right direction.
Issue resolved. The problem is with Windows notification and sound settings. I attach some screenshots to show what I do to resolve this problem in case someone else is also looking for this
I just have the application there after installing the desktop app. Maybe you can try to reinstall the application and make sure your Windows version is updated.
Hope you will be successful in resolving your problem
SOLVED: I had the same problem with MacBook, turns out the notification in MM app was on, but MM notifications for system preference was switched off. Make sure that is switched on for receiving desktop notifications.