Improper XUL fallback when libnotify exists
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: saschanaz, Unassigned)
References
Details
From https://bugzilla.mozilla.org/show_bug.cgi?id=1869796#c17:
I am on Ubuntu 22.04 right now and I have both libnotify-bin and libnotify4 installed and always had them.
No idea why Firefox and Thunderbird do not use them, but it was like this at least for a few years as I'm using Firefox Nightly and Thunderbird Beta versions that are direct from Mozilla (not packaged in deb).
Reportedly Firefox falls back to XUL even when libnotify is there. The repro condition is currently not clear.
Comment 1•6 months ago
|
||
I'm using notify-osd for notifications in a custom desktop environment, reproduction is simple:
- Download Firefox Nightly from official website
- Trigger notification, I used https://www.bennish.net/web-notifications.html for testing purposes
Comment 2•6 months ago
|
||
You can try to use gdb to debug this code:
https://searchfox.org/mozilla-central/rev/f961e5f2a22f4d41733545190892296e64c06858/toolkit/system/gnome/nsAlertsIconListener.cpp#100
It's possible that your libnotify implementation is missing requested function. Look at https://mastransky.wordpress.com/2023/07/04/no-one-fights-alone-a-guide-to-your-first-firefox-patch-on-linux/ how to build/debug Firefox.
Updated•6 months ago
|
Comment 3•6 months ago
|
||
Well, libnotify I use is stock from Ubuntu 22.04, but notify-osd is indeed different from some other implementations in that it is non-interactive, which is important for some of the notifications, so maybe that is the reason?
Comment 4•6 months ago
|
||
So... I tried notify-osd on stock ubuntu and notifications still work. If you give more details about how to set up the environment to get this to repro I'd be happy to poke.
Comment 5•6 months ago
|
||
My environment is X11-based with Qtile window manager, I'm not using GNOME or any other off-the-shelf DE right now
Description
•