Hi @mig5. Every login I am prompted to enable notifications though I have them enabled already. Do you know if this is a discourse bug?
Thanks @HulaHoop. Iām investigating and will let you know.
By Notifications do you mean the āLive Notificationsā setting at /u/HulaHoop/preferences/notifications ?
Can you also take a screenshot of the prompt so I can see what youāre seeing?
Cheers
Iām struggling with installing a screenshot utility, however the message appears in a blue box at the top of the page saying"
"Do you want live notifications when people reply to your posts? Enable Notifications. "
Thanks @HulaHoop
My understanding is that this setting is driven not by Discourse but via your browser settings (e.g in Firefox, āNotificationsā in about:preferences#privacy . You may need to uncheck āBlock new requests asking to allow notificationsā or whitelist the forums.whonix.org site in your browser notification settings).
According to what I can see as an admin, in your preferences, your Live Notifications is set to āDeniedā with the message āYou denied permission for notifications. Allow notifications via your browser settings. Note: You have to change this setting on every browser you use.ā
My own settings are the same as above (āDeniedā), but I donāt reproduce the issue. I just enabled Notifications in my browser, and then got the prompt on the forum. I consented to enabling notifications and I donāt get reprompted even in another browser. So Iām not sure why itās different for you. It suggests that at some stage in the past, your notifications were disabled in browser and so disabled in Discourse. But maybe youāre now using a browser with the notifications on, and so you get prompted - but in fact you ought not to, since itās clearly set to Denied in your forum preferences.
Hmm. Iāll continue to research if itās a Discourse bug but I canāt reproduce it.
Actually just realised in my other browser, although the setting was no longer āDeniedā, I still had to click āEnable notificationsā to activate it.
The āNote: You have to change this setting on every browser you use.ā suggests that itās by design since itās driven by browser settings. If youāre using a DispVM in QubesOS every time you visit the forums (as I am), maybe this is the cause⦠(a different browser each time)?
Perhaps if I had forums.whonix.org whitelisted in browser settings (including in DispVMs default settings) I would not have to enable it each time⦠does this match your situation? Are you using the same browser every time without changing browser settings, or different one each time?
Hey @HulaHoop, I just reproduced it again signing in via Tor Browser (which by default allows notifications).
If I even just open another tab I see the blue bubble again.
Furthermore, in my settings within Discourse, nothing happens when I click āEnable Notificationsā.
But in a regular Firefox browser, clicking the button shows the ādo you wish to allow notificationsā native box popup in the browser, and I say yes, and the setting sticks.
So, this seems just an issue under Tor Browserā¦
Iāll investigate if I can fix it, but itās curious, as it doesnāt show any debug errors that I would expect to see if it was CSP related etc.
Yes I always use Tor Browser with no modifications on my end.
That would be great thanks.
Hi @HulaHoop,
Iāve been unable to solve it - more significantly, I reproduce it on Discourseās meta.discourse.org as well as their demo try.discourse.org. So the issue is not specific to our configuration, version or infrastructure.
Iāve therefore reported it upstream at 'Enable Notifications' button in user preferences doesn't work on Tor Browser 8.0.3 - support - Discourse Meta with as much info as I can think of.
Cheers
Mig
I got a sassy response telling me to take it up with the Tor Project. Iāll try that too.
Nice, my sassy response to the sassy response was met with a less sassy, and more useful, response.
Tor Browser is based on Firefox ESR. Firefox 52 ESR disabled the service workers & push notifications to make it easier to handle updates.
So it sounds like itās a limitation of Firefox ESR. Something we canāt do anything about.
I can disable the live notifications prompt (blue bar) entirely if that makes it less annoying/distracting? What do you think? I think Iāll go ahead and do that actually. I think the user might still be able to enable it in their preferences area, if they can actually use it. EDIT thatās indeed the case.
Sounds good. Thanks for taking this up with upstream. I appreciate what you do for us here.