Bug 272907 - www/firefox: 116.0 no longer uses native notifications in KDE, and crashes often when displaying built-in ones
Summary: www/firefox: 116.0 no longer uses native notifications in KDE, and crashes of...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-03 04:59 UTC by GekkePrutser
Modified: 2023-09-13 19:19 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (gecko)
grahamperrin: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GekkePrutser 2023-08-03 04:59:38 UTC
Since Firefox 116.0 it no longer uses libnotify to display notifications through KDE. KDE 5.27.6, FreeBSD 13.2-p1 on amd64

Furthermore, when it displays its native notifications it often hangs completely so I had to turn notifications off. When it hangs the notification box becomes locked in X-Windows (e.g. previous content from another window is shown there). And all firefox windows will be unresponsive.

Things checked:

- About:config alerts.useSystemBackend is set to true (so it should use libnotify)
- libnotify is still installed
- libinotify is also installed
- Don't see anything relevant to this in about:support
Comment 1 GekkePrutser 2023-08-03 05:02:28 UTC
PS: Not sure if it affects multiple people. I have not yet been able to confirm on IRC.

One person mentioned it still works on GTK based platforms so perhaps it's a KDE specific bug.
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2023-08-03 09:16:27 UTC
It seems working on my side, my environment is:
- 13.2-RELEASE-p1
- firefox-116.0,2
- kde5-5.27.6.23.04.3_2
- libinotify-20211018
- libnotify-0.8.2
Comment 3 GekkePrutser 2023-08-03 19:24:55 UTC
Thank you Li-Wen!

It's strange, it worked totally fine until the update.

I checked my versions also. They are exactly the same as yours!

Are you sure you are getting the native notifications that are showing up in the panel?
Comment 4 Graham Perrin 2023-08-04 04:50:48 UTC
Crashes should probably be a separate bug report (not reproducible here). 

From what I see, with multiple applications: this BR is more broadly

- with, or affecting, devel/kf5-knotifications

- not limited to www/firefox. 

<https://www.freshports.org/devel/kf5-knotifications/>

At a glance, I see nothing related upstream.
Comment 5 GekkePrutser 2023-09-13 19:19:51 UTC
Issue fixed with Plasma 5.27.7 / Firefox 117.0

Not sure what the issue was :( But glad it's fixed!