Does that mean live notifications (should) work again after the do not disturb time is over?
AI-generated summary
The discussion addresses a bug where enabling Do Not Disturb (DND) mode inadvertently disables live notifications on mobile devices. Moin initially asked if live notifications should resume after DND ends. maiki questioned the term ālive notificationsā but prompted Moin to share specific concerns.
Moin detailed a reproducible issue on Android where live notifications appear disabled after toggling DND. The bug occurs when notifications are enabled in mobile view, the page is reloaded, and DND is activated; the setting remains disabled even after deactivating DND. This behavior was inconsistent: it did not occur when notifications were enabled in desktop mode, nor when DND was activated in desktop mode while using mobile view. Moin suspected the UI state discrepancy indicated a deeper issue with notification functionality.
Moin sought a workaround to avoid manually re-enabling notifications daily. Finally, Moin reported that the issue was resolved by a fix implemented in pull request #43243, which corrected the behavior of live notifications in relation to DND mode.
What are ālive notificationsā in this context? Android PWA?
āDo Not Disturbā mode should toggle notifications in all contexts, me thinks.
@Moin this seems like something you can test, so is there a concern you havenāt shared with us? ![]()
Yes. Somehow they always got disabled on my phone (Android, not PWA) after DND was enabled. Because I did not try on another device, I thought maybe I understood DND wrong or missed a setting. But after trying on my computer, I now know they should not be disabled by DND. But I could also replicate the problem with my computer using mobile view.
Here are the steps to reproduce
- Switch to mobile view by adding
?mobile_view=1(not in the screen cast, but you can see mobile view is used) - Enable live notifications and save,
- reload the page,
- activate the do not disturb mode,
- reload the page again.
- Now Live notifications are shown as disabled (That is different using desktop-mode)
- Then I deactivate the disturb mode, reload the page and view the preferences.
- Now live notifications are still disabled.
Record on windows using mobile view.
As soon as I enable the notifications using desktop mode, they are not disabled by the do not disturb mode, although I then used mobile-view again. But notifications get disabled when I activate them in mobile view and enter DND in desktop-view.
So something must be different, when you activate notifications using mobile view. I also noticed the notification looks different
I was too lazy to try whether notifications work or not. I just had a look at the setting. But I first noticed notifications did not work before noticing they got disabled, so I think this is related
Does anyone have an idea how I can use DND and push notifications on mobile without enabling them every day?
Thank you fix fixing this
