desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Desktop app on Mac plays notification sound even when disabled

Open vasimi opened this issue 2 years ago • 5 comments

I confirm (by marking "x" in the [ ] below: [x]):


Summary Desktop app plays notification sounds on Mac even if notification sounds are disabled system-wide or for the Mattermost app.

Environment

  • Operating System: macOS
  • Mattermost Desktop App version: 5.0.4
  • Mattermost Server version: 6.6.1

Steps to reproduce receive a notification

Expected behavior if do not disturb is turned on or notification sounds are turned off for Mattermost, no sound is played

Observed behavior sound plays even if notification sounds are turned off in the system

vasimi avatar May 09 '22 10:05 vasimi

Thanks for the report, this unfortunately requires a native Node module to work correctly, which we do not support in our build process currently.

We will be supporting this in the near future however!

devinbinnie avatar May 09 '22 13:05 devinbinnie

This is a really annoying bug. How near in the future can this be fixed? Which Node module does this feature depend on?

RichieB2B avatar Sep 13 '22 13:09 RichieB2B

This might now be fixed with the addition of the macos-notification-state module. However, it will only work outside of the MAS build due to Apple's App Sandbox restrictions. You can try it for yourself in the nightly buillds available here: https://community.mattermost.com/core/channels/desktop-builds

devinbinnie avatar Sep 13 '22 13:09 devinbinnie

Wow, that was fast! I can confirm that mattermost-desktop-5.2.0-nightly.20220912-mac-m1 fixes this issue.

RichieB2B avatar Sep 13 '22 14:09 RichieB2B

For the MAS issue, looks like this can be fixed: https://github.com/felixrieseberg/macos-notification-state/pull/27

RichieB2B avatar Sep 13 '22 14:09 RichieB2B