Closed Bug 1308533 Opened 9 years ago Closed 9 years ago

Notifications aren't showing

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect)

49 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: alexandre.dufournet, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID: 20160923225245 Steps to reproduce: On a fresh profile, go on https://developer.mozilla.org/en-US/docs/Web/API/notification Then press the "Notify me" Actual results: I was asked for permissions, selected "allow" Nothing, no error in the logs Expected results: A notification should have been displayed
Currently running on Arch linux uname -a Linux <> 4.7.5-1-ARCH #1 SMP PREEMPT Sat Sep 24 13:04:22 CEST 2016 x86_64 GNU/Linux it was reproduced on a completely fresh profile (deleted .mozilla folder) on both firefox 49.0 and 49.0.1
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → General
Did this work in earlier versions of Firefox? Does your window manager / distro provide desktop notifications for other apps, and if so using what framework?
Component: General → Notifications and Alerts
Flags: needinfo?(alexandre.dufournet)
Product: Firefox → Toolkit
>Did this work in earlier versions of Firefox? Yes, I use it mainly for Slack and use to work up to firefox 48 I believe. I haven't tried to downgrade yet, would that be helpful? >Does your window manager / distro provide desktop notifications for other apps, and if so using what framework? I'm running Gnome, so yes. I use to have https://addons.mozilla.org/en-US/firefox/addon/gnotifier/?src=search installed (and working). Because it's currently failing I removed it (and as mentioned above, I tested on a fresh profile). Other desktop notifications are working: evolution (gnome calendar app) and empathy (chat app) are both sending me notifications.
I'm not sure what the current state of our notification work is on Linux and if we try to use libnotify or not. If it's a regression (ie it worked in 48 or earlier) you might be able to find out what broke it using mozregression ( http://mozilla.github.io/mozregression/ ) which would help shed light on what the problem is.
I've used the regression tool, here's my finding: I assumed a fairly recent nightly build would still be broken, so I picked 20016-10-01 as being "bad". It turns out that version appear to work. So whatever is broken in firefox 49 has been fixed on the nightly build already. Something else to note, the notification has a native appearance which wasn't the case before. I assume firefox is now using libnotify. (I'm pretty sure that's a new thing as that makes the aforementioned extension useless - which is great) I'll just wait for the next FF version (unless someone wants to backport that, which seems unlikely)
I have found the origin of that bug. I have a multi-screen setup, and I have the gnome-terminal on one screen, firefox on the main screen. It turns out having gnome-terminal in full-screen (view -> fullscreen) is stopping notifications from showing, even if they are on a different screen. I believe this is completely unrelated to firefox, and will therefore close the bug. I'll report that upstream to gnome. Thanks for your help Gijs!
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(alexandre.dufournet)
Resolution: --- → INVALID
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.