facebook notify dont work
Categories
(Core :: DOM: Push Subscriptions, defect)
Tracking
()
People
(Reporter: rolf.redford, Unassigned)
Details
Attachments
(1 file)
128.78 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Steps to reproduce:
Not sure, I didn't change much. I tried new profile, new profile with notify enabled, old profile with notify enabled or not. None of those allows facebook to notify me of new messages. Title text does not even change.
Actual results:
I get messages when I am not at facebook tab. It does not let me know like it does for getting comments and shared posts. It simply sits there. With tests on chromium, with desktop notify enabled, I get message on getting new facebook message, AND title changes to "John Smith have messaged you." It does not do this in facebook.
Expected results:
(See above, "John Smith have messaged you" should be title of facebook tab when I get new message from John (example name). With desktop notify enabled, I should also get notification native to OS. It does not.
Rolf was concerned about clarity and asked me to leave a comment.
From what I gathered in our conversation on Matrix there are two main issues they're seeing:
- When a new message arrives the tab title used to change thereby alerting to the new message, but sometime in the last two months or so it stopped doing this.
- As a workaround to this just today they tried enabling desktop notifications but are seeing nothing.
They tested in Chromium as well as in a fresh Firefox profile and both of these issues don't work in the fresh profile while things work properly / as expected in Chromium.
Comment 2•3 years ago
|
||
Hello! I have tried to reproduce the issue with firefox 101.0a1(2022-04-29), 99.0.1 and 100.0 on Ubuntu 20.04 and I have managed to reproduce the issue. The tab shows a notification but if the firefox window is not focused there is no notification with the native os notification system.
I will mark this issue as NEW and setting a component for it on order for our developers to look more into it.
If it's not the right component please feel free to change it to an appropriate one.
Thank you!
Reporter | ||
Comment 3•3 years ago
|
||
You're welcome! Just glad I had someone help clear up what I meant. Being permanently dizzy means I can't think clearly sometimes, and that day was one of worse days.
Comment 4•3 years ago
|
||
The severity field is not set for this bug.
:tspurway, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•1 year ago
|
Hi people, can you still reproduce the same problem? Is it Linux specific or can it be reproduced on other platforms e.g. macOS, Windows, or Android too?
Comment 6•1 year ago
|
||
Hello, Kagami sorry for the long reply time. Yes this issue is still reproducible on Ubuntu 22.04 and Windows 10 with firefox 117.0a1(2023-07-27) and 115.0.2.
The sound of a new message is heard but there is no notification with the contents of the message in the native OS notification bar or in firefox.
The OP says "None of those allows facebook to notify me of new messages. Title text does not even change." Is that also the case for you?
Comment 8•1 year ago
|
||
In my case the tab title changes with the name of the person who messaged me.
That sounds like a different issue. What happens if you disable alerts.useSystemBackend
in about:config?
Comment 10•1 year ago
|
||
If I disable the pref the title of the tab still changes as before but there are still no OS native notifications.
Can you check whether the devtools console has anything to say when your notification arrives, or what Notification.permission
say on the console?
Comment 12•1 year ago
|
||
The Notification.permission says "" granted" in the browser console with a new profile and also with the modified pref. When I receive a message there are no errors in the devtools console does not show any errors.
Comment 13•1 year ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:jmarshall, since the bug has recent activity, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Hello, Negritas! Three months passed and I wonder whether this is still a problem. If yes, can you check whether the service worker for facebook is active in about:debugging (This Nightly -> Service Workers)?
Comment 15•1 year ago
|
||
Hello Kagami! Sorry for the long reply! The issue is still reproducible with firefox 121.0a1(2023-11-10) on Ubuntu 22.04. As mentioned before, after allowing notifications from facebook there are still no native OS notifications if firefox is not in focus and when firefox is in focus on another tab only the facebook tab displays the incoming message notification.
Thanks for confirming! In that case, can you check service worker is working when notification is not coming? See the last part of comment #14 for the steps, thanks!
Comment 17•1 year ago
|
||
Hello Kagami! As you suggested in comment #14 the service worker in the about:debugging has a "Stopped" status
Thanks! Does it look like this?
https://www.facebook.com/sw?s=push * Stopped
Push Service https://updates.push.services.mozilla.com/wpush/v2/...
Fetch Not listening for fetch events
Unregister Start
In that case, if you click Start and then click Push (the start button becomes a push button), does it generate a push notification?
And also, how exactly are you trying to generate a notification? What I'm trying is:
- Prepare two different Facebook accounts
- Open about:debugging and find the entry for Facebook (which looks like what's written in comment #18)
- Search your account and click "Add friend"
- See the entry status in about:debugging is "Running"
- See the actual notification
Comment 20•1 year ago
|
||
I have tried to generate a notification with a message and also with a friend request. There is no push notification only when pressing the Push button as mentioned in comment #18 it does show a notification.
(In reply to Negritas Sergiu, Desktop QA from comment #20)
I have tried to generate a notification with a message and also with a friend request.
With a different device or a different profile, right?
There is no push notification only when pressing the Push button as mentioned in comment #18 it does show a notification.
So you didn't see any change in the entry in comment #18 when you tried sending notification (i.e. the status was kept Stopped), correct? Does it have the same URLs as in comment #18 (I think I've seen a report that the URL for Push Service somehow pointed to an obsolete URL)
Can you also try sending notification while the service worker is started manually by clicking Start?
Comment 22•1 year ago
|
||
I tried on the same device but with different profiles. (In reply to Kagami [:saschanaz] (they/them) from comment #21)
(In reply to Negritas Sergiu, Desktop QA from comment #20)
I have tried to generate a notification with a message and also with a friend request.
With a different device or a different profile, right?
I have tried with the same device but with different profiles.
There is no push notification only when pressing the Push button as mentioned in comment #18 it does show a notification.
YesSo you didn't see any change in the entry in comment #18 when you tried sending notification (i.e. the status was kept Stopped), correct?
I haven't seen any change in the entry in comment #18.
Does it have the same URLs as in comment #18 (I think I've seen a report that the URL for Push Service somehow pointed to an obsolete URL)
This is the only link for the service worker for Facebook "https://www.facebook.com/sw?s=push"
Can you also try sending notification while the service worker is started manually by clicking Start?
Yes i can send a notification when the service worker is started manually.
(In reply to Negritas Sergiu, Desktop QA from comment #22)
This is the only link for the service worker for Facebook "https://www.facebook.com/sw?s=push"
👀 You mean you don't see the entry named "Push Service" at all? That sounds very problematic as it means it's not subscribing for remote push messages. Are you trying it on a new profile or an existing one? If on an existing one, can you confirm it happens on a new profile too?
Edit: And just to be sure, you enabled "How You Get Notifications ➡️ Browser ➡️ Firefox Push Notifications" in https://www.facebook.com/settings/?tab=notifications, right?
Comment 24•1 year ago
|
||
Here is a screen from about:debugging and it is from a new profile, also on the existing profile I have it's the same so there is no difference between an existing one and a new one.
Thanks! Could you double check you enabled the push notifications and Facebook says so, per the edit part of comment #23? Comment #2 didn't say about that and that's why I'm double checking. Thank you for answering a lot of questions 👍
Comment 26•1 year ago
•
|
||
Yes the push notifications are enabled for the website and also from the facebook settings.
Can you try disabling it and reenabling it, to try resubscribing? Does it add the Push Service entry in about:serviceworkers?
Also, at this point it looks quite clear that something goes wrong when subscribing. Do you see any relevant log when triggering subscription when you open Menu➡️More tools➡️Browser Console? You might also want to modify dom.push.loglevel
from Error to All.
Comment 29•1 year ago
|
||
It does not add push service after unsubscribing the service worker from about:serviceworkers even after deleting all the cookies and reenabling the push notification from the facebook page and also from the facebook settings page.
I modified the suggested pref as per your last comment but I have't seen any error and or something relevat to triggering the subscription.
Description
•