Desktop notifications are broken on web

Start date

Due date

Description

Example notifications are working as expected during onboarding but fail to work after that.

I’ve noticed the notifications sound but nothing pops on screen.

This has been cross verified on Windows and Mac so it doesn't appear to be user or system specific.

 

Reproduced on: rc test and cloud workspaces

 

Update - able to repro on local dev

Repro steps:

  1. Start fresh server with "EnableOnboardingFlow": false

  2. Create 2 users

  3. Login as first user and then send a message with mention to the other user

Observed:

  1. The other user can hear the sound of notification but the browser notification itself is not shown.

QA Test Steps

See description [https://github.com/mattermost/desktop/pull/1818|https://github.com/mattermost/desktop/pull/1818] No testing required.

Activity

Show:

Steve MudieMarch 16, 2022 at 2:44 PM

Re-opened by mistake. Closing as it was listed as invalid.

Lindy IsherwoodNovember 24, 2021 at 5:24 PM

Thanks - I’ll follow up separately with Saturn on next steps for Rainforest servers.

Jesse HallamNovember 24, 2021 at 4:48 PM

and I had a chance to debug this further. TLDR; browsers don't allow notifications from insecure origins. The Rainforest servers are currently configured to connect via HTTP directly to :8065. Following up with offline on next steps, but I think we can close this out now.

Maria NunezNovember 16, 2021 at 9:39 PM
Edited

any idea what the expected behaviour is if the user skips onboarding (or it’s disabled system wide)? I want to understand if we have to fix a user-facing bug here, or enable some form of automated testing.

Skipping or disabling onboarding should behave the same as it did before onboarding was introduced in self-managed (in 5.37), which is leave the default settings intact. I would need to look to be certain but I would suspect that the default setting is to have the notifications enabled. How were they enabled before onboarding was there?

Lindy IsherwoodNovember 16, 2021 at 5:48 PM

Hey - on my Windows machine, I neither hear sound nor receive a desktop notification if I skip setting up notifications at onboarding.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

QA Assignee

Reporter

Labels

Checklist

Created October 4, 2021 at 8:17 PM
Updated March 16, 2022 at 2:44 PM
Resolved March 16, 2022 at 2:44 PM