Skip to content

Bug: Notification don't show #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
macuser79 opened this issue May 4, 2022 · 21 comments · Fixed by ferdium/ferdium-recipes#116
Open
1 task done

Bug: Notification don't show #93

macuser79 opened this issue May 4, 2022 · 21 comments · Fixed by ferdium/ferdium-recipes#116
Labels
bug 🪲 Something isn't working question ❓ Further information is requested

Comments

@macuser79
Copy link

Avoid duplicates

  • I have searched the issues tracker for a bug report similar to mine, in vain

Ferdium Version

6.0.0-nightly.25

What Operating System are you using?

macOS

Operating System Version

macOS Monterey Version 12.3.1

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Ferdium version

6.0.0-nightly.25

Expected Behavior

Push notifications for registered services

Actual Behavior

After installing the latest version, you do not receive push notifications for services, Whatsapp, Telegram, Facebook Messenger

Steps to reproduce

  1. Install last version
  2. Enable Whatsapp Service or Telegram Service
  3. Receive message from Whatsapp

Debug link

No response

Screenshots

No response

Additional information

No response

@macuser79 macuser79 added the bug 🪲 Something isn't working label May 4, 2022
@vraravam
Copy link
Contributor

vraravam commented May 7, 2022

@macuser79 - please update this card with your latest findings (which I think you put in the discord message room?) It would be helpful for future reference.

@vraravam vraravam added the question ❓ Further information is requested label May 7, 2022
@jjd0000
Copy link

jjd0000 commented May 7, 2022

6.0.0-nightly.27, macOS Monterey, Arch: x64 here.

My WhatsApp notifications and badges are unreliable as well. Sometimes they show up but usually not. Sometimes the notifications show up but not the badges (on the dock or in the app itself).

I don't have Telegram or FB Messenger installed.

This has been a problem for the past few weeks at least though (in Ferdi too).

@vraravam vraravam added this to the 6.0.0 milestone May 11, 2022
@codekoala
Copy link

codekoala commented Jun 9, 2022

I am seeing the same behavior on 6.0.0-nightly.55 on both Arch Linux (x64, X11, i3wm) and Windows 11. I also see no badges at all for any services.

@entozoon
Copy link

Same on macOS Big Sur/Monterey with Ferdium 6.0.0-beta.1.
Weird because inside the app, the services know they have notifications:
Screenshot
But not in the tray:
Screenshot

@Guuvita
Copy link

Guuvita commented Jun 20, 2022

It's happening for me on windows 10, using nightly 69, if ferdium is focused i get the badge updates but no notifications, but if ferdium is not focused i get nothing at all, no badge update on the task bar, no notifications, no sounds. I don't have hybernation on, notifications are enables everywhere (ferdium and windows). Notifications worked the first day i installed the app, but after that, they are gone :(

@vraravam vraravam changed the title Bug: Notification don't show on Mac OS X ARM 64 Bug: Notification don't show Jul 5, 2022
@vraravam
Copy link
Contributor

vraravam commented Jul 5, 2022

As per #429 , this is also present in Windows.

@Donaldini
Copy link

I have the same issue for Messenger. I'm not getting any notifications anymore, even though there are new messages when opening the service.

My system:

  • MacOS Monterey 12.4
  • Ferdium 6.0.0-nightly.92

@M0UL
Copy link

M0UL commented Jul 17, 2022

i have the same issue with everything except whatsapp.

@MadelineProtoFan
Copy link

Sound notifications are not working in both K and Z version of telegram WEB

@vraravam vraravam removed this from the 6.0.0 milestone Jul 25, 2022
@theretohere
Copy link

theretohere commented Jul 26, 2022

I'm having this issue with Telegram not showing the badge and no audio notifications in Ferdium release 6.0.0 on Linux mint 20. It worked in the most recent Ferdi.

@MadelineProtoFan
Copy link

Please dear developer fix the problem. 1.5 month past. I do not get any sound notifications in both versions of telegram. Windows 10. I lost a lot of money. I can donate money to fix the problem
It is very hard to work in silent mode without any sound notifications

@Uraael
Copy link

Uraael commented Sep 17, 2022

Hello. Installed Ferdium Nightly 6.1.17 on Windows 11 [Beta, Build 22622.598] and can confirm that Notifications are completely silent. 7 Services enabled: Facebook, Twitter, Discord, Mastodon, Element, LinkedIn & Messenger, and not one is showing notification update badges, no sounds are triggered, and nothing is happening in Windows Notifications either. These are busy accounts [Discord especially] and for all intents and purposes Ferdium is silent visually and aurally, although all the messages can be seen updating in their respective feeds.

Odd behaviour in Windows settings as well - In System > Notifications Ferdium is set to "Off" and actively resists clicking the toggle to "On" - it just clicks straight "Off" again. Going into the app settings and switching those on don't work either.

Hopefully someone is looking into this otherwise the app is not fit for purpose.

@Uraael
Copy link

Uraael commented Sep 17, 2022

Sorry, I should also say that I've tried toggling all the Notification/Audio switches inside Ferdium as well, editing individual Services and in global settings, with zero effect.

@max1c
Copy link

max1c commented Oct 13, 2022

I'm also not getting Messenger notification icon on 6.2.0 release. The sound works, the notification icon never shows up.

@cino cino added this to Ferdium Nov 11, 2022
@cino cino moved this to New in Ferdium Nov 11, 2022
@lukecrawford1997
Copy link

lukecrawford1997 commented Nov 27, 2022

Im also not getting messenger notifications. I get the sound but no icon notification and no taskbar notification. is their a fix to this??? Running the latest ver of the app too

@eranelbaz
Copy link

Not getting any whatsapp or telegram notifications,
running v6.2.3
macos 13.0.1

@rursache
Copy link

Still happening. This was the reason why I stopped using Ferdi. Even now is broken 😓😒

@nikolaskhodov
Copy link

nikolaskhodov commented Oct 17, 2023

There may be an Electron's issue with ServiceWorkerRegistration used by apps to handle notifications via service workers. I came up with this theory when working on the fix for Telegram at ferdium/ferdium-recipes#439

@SpecialAro
Copy link
Member

There may be an Electron's issue with ServiceWorkerRegistration used by apps to handle notifications via service workers. I came up with this theory when working on the fix for Telegram at ferdium/ferdium-recipes#439

This is a really interesting finding!
Do you think that it is possible to change the codebase of ferdium-app instead of making it service-specific? I make this question because several other webapps might be using the same method... and that is why we don't get notified sometimes.

@nikolaskhodov
Copy link

nikolaskhodov commented Oct 17, 2023

There may be an Electron's issue with ServiceWorkerRegistration used by apps to handle notifications via service workers. I came up with this theory when working on the fix for Telegram at ferdium/ferdium-recipes#439

This is a really interesting finding! Do you think that it is possible to change the codebase of ferdium-app instead of making it service-specific? I make this question because several other webapps might be using the same method... and that is why we don't get notified sometimes.

I feel like it may be fixed on Ferdium's side with more invested efforts to identify the low-level root cause. I was about to look into it, but decided to iterate with the telegram fix as a starting point.

@nikolaskhodov
Copy link

nikolaskhodov commented Oct 18, 2023

There may be an Electron's issue with ServiceWorkerRegistration used by apps to handle notifications via service workers. I came up with this theory when working on the fix for Telegram at ferdium/ferdium-recipes#439

This is a really interesting finding! Do you think that it is possible to change the codebase of ferdium-app instead of making it service-specific? I make this question because several other webapps might be using the same method... and that is why we don't get notified sometimes.

After having dug deeper, Electron doesn't seem to support popping notifications triggered from service workers (there is open issue electron/electron#13041 from 2018 🥲). I don't find reasonable for myself to work on implementing so-called persistent notitfication for Electron. However, we may want to consider patching service workers on the fly to instrument self.registration with two patched methods:

  • getNotifications()
  • showNotification().

I am no Electron expert so I've asked ChatGPT to reason how it could be approached. This procedure seems to be cumbersome (requiring really non-trivial efforts to implement) and high-risk (impacting ALL apps running on Ferdium). I would only consider hopping on implementing if the core developers were to agree on and then happy with the agreed procedure in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working question ❓ Further information is requested
Projects
Status: New
Development

Successfully merging a pull request may close this issue.