No site notifications when site tab not loaded
-
Is this normal that I don't get site notification when the tab with this site is closed?
For example Google Keep or Callendar. Site notification enabled.
Works only when the site is opened and loaded (not hibernated).
-
@Gregor What do you think all the angry "Vivaldi is showing me ADS I did NOT want!" topics are caused by?
Yes, they (should) work when a site is not opened. Depends on the site I guess.
I wouldn't know though, I hate the darned things... -
But those are only notifications that you can set and enable/disable, not ads. I don't understand what to hate here.
-
@Gregor They're the same thing: User gets asked if they want to "Allow Notifications" - site can send them notifications, even when the originating site is not opened.
Again, depends on the site whether they send notifications when a tab is closed or not.
You'll have to test in other browsers to see if it works as "expected" there.
Update: I tested with Hotmail (Outlook) because Google is a PITA to sign in on a new "device" and Vivaldi Webmail notifications don't work (?)
Setting Outlook to allow "Desktop Notifications", and sending myself an email from Gmail:
-
On Firefox it doesn't work at all (site opened or closed), notifications enabled for the site.
-
Found a site that allows a good test since you can trigger notifications remotely:
https://simple-push-demo.vercel.appVideo: https://0x0.st/HpL4.mp4
You can test this yourself with
curl
- even on Windows:
https://curl.se/windows/ -
Nice, but I'd like to check the triggering of the notification when the page is closed. For example here https://www.bennish.net/web-notifications.html I can set 5s delay, but it don't show when I close the tab. So is it not working or that's what supposed to be?
-
For that site notifications only show if the tab is open. Doesn't mean it's "not working".
Just difference in how sites implement it.To have working push notifications when a tab is closed, the site needs to register a Service Worker at the very least and also have the code to notify that worker process when it's running.
For Google services, you have to ask Google.
If you think it's a bug in Vivaldi, compare with other browsers first and see if they work differently.
Don't assume something is a bug just because you don't understand how it works. -
It helps to search the support pages as well:
"You can get email notifications on Google Chrome, Firefox, or Safari when you're signed in to Gmail and have it open in your browser."
https://support.google.com/mail/answer/1075549"Desktop notifications that appear outside of your web browsers. Your calendar must be open."
https://support.google.com/calendar/answer/37242"Push notifications currently aren't available in Keep"
https://support.google.com/docs/thread/17471314/how-can-i-get-push-notifications-emails-when-someone-adds-an-item-to-a-google-keep-list -
@Pathduck said in No site notifications when site tab not loaded:
If you think it's a bug in Vivaldi, compare with other browsers first and see if they work differently.
Firefox don't show any notification on any of these pages:
https://simple-push-demo.vercel.app/
https://keep.google.com/
https://www.bennish.net/web-notifications.html
So, what does it mean? -
@Gregor How should I know what it means, I don't use Firefox
https://support.mozilla.org/en-US/kb/push-notifications-firefox
-
Can you check on Vivaldi on some website if you get a notification when that website is closed?
-
@Gregor Think @Pathduck already showed that in this post: https://forum.vivaldi.net/post/692288
-
Ok, anyway as I understand it depends on the site whether they send notifications.
So, I'm interested in the https://keep.google.com.
Can someone that has google account open it, create some Reminder (with some delay) and see if it shows up when the Keep tab is closed? -
@Gregor It does not - I thought we already established that earlier?
Have you tested in other browsers if they work at all? Not just Firefox - other Chromium browsers (Chrome, Edge, Opera, Brave)?
If they don't work either, then Keep does not do Push Notifications, simple as that.
-
Same as Firefox - Chrome does not show notifications, only info at the bottom of the page
So if Keep does not do Push Notifications then why Vivaldi shows also this?: