Notification popups not appearing
Affected version
- Fedora 31
- gnome-shell 3.34.5 (3.34.5-1.fc31.src.rpm)
- Wayland
Bug summary
Notifications show up in the notification center but no popups appear. I've toggled the "Notification Popups" option in Gnome Settings on/off, toggled all extensions on/off and restarted to no avail.
Possibly related to #2429 (closed).
Steps to reproduce
From Firefox:
- Open Web Console (F12, Cmd+Shift+K).
- Enter
Notification.requestPermission()
and hit enter. Approve the request for notifications. - Enter
new Notification('test')
and hit enter. - Look in notification center to see the notification was sent but no popup showed.
From terminal:
notify-send test
- Look in notification center to see the notification was sent but no popup showed.
What happened
Did not show a notification popup.
What did you expect to happen
Notification popup is shown.
Relevant logs, screenshots, screencasts etc.
Not sure how useful this is but I've attached dbus-monitor output below.
Using firefox:
signal time=1587388639.054399 sender=org.freedesktop.DBus -> destination=:1.335 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.335"
signal time=1587388639.054417 sender=org.freedesktop.DBus -> destination=:1.335 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.335"
signal time=1587388640.226730 sender=:1.18 -> destination=(null destination) serial=3042 path=/org/gnome/Shell/Introspect; interface=org.gnome.Shell.Introspect; member=RunningApplicationsChanged
method call time=1587388642.123343 sender=:1.131 -> destination=:1.18 serial=61 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "Firefox"
uint32 0
string ""
string "test"
string ""
array [
string "default"
string "Activate"
]
array [
dict entry(
string "desktop-entry"
variant string "Firefox"
)
]
int32 -1
signal time=1587388642.124524 sender=:1.18 -> destination=(null destination) serial=3043 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
uint32 39
uint32 1
method return time=1587388642.128738 sender=:1.18 -> destination=:1.131 serial=3044 reply_serial=61
uint32 44
Using notify-send:
signal time=1587388490.786928 sender=org.freedesktop.DBus -> destination=:1.332 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.332"
signal time=1587388490.786961 sender=org.freedesktop.DBus -> destination=:1.332 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.332"
method call time=1587388493.301109 sender=:1.333 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1587388493.301163 sender=org.freedesktop.DBus -> destination=:1.333 serial=4294967295 reply_serial=1
string ":1.333"
signal time=1587388493.301198 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.333"
string ""
string ":1.333"
signal time=1587388493.301263 sender=org.freedesktop.DBus -> destination=:1.333 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.333"
method call time=1587388493.302503 sender=:1.333 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.Notifications',interface='org.freedesktop.Notifications',path='/org/freedesktop/Notifications'"
method return time=1587388493.302553 sender=org.freedesktop.DBus -> destination=:1.333 serial=4294967295 reply_serial=2
method call time=1587388493.302565 sender=:1.333 -> destination=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.Notifications'"
method return time=1587388493.302620 sender=org.freedesktop.DBus -> destination=:1.333 serial=4294967295 reply_serial=3
method call time=1587388493.302643 sender=:1.333 -> destination=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
string "org.freedesktop.Notifications"
uint32 0
error time=1587388493.302670 sender=org.freedesktop.DBus -> destination=:1.333 error_name=org.freedesktop.DBus.Error.ServiceUnknown reply_serial=4
string "The name is not activatable"
method call time=1587388493.303410 sender=:1.333 -> destination=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.Notifications"
method return time=1587388493.303496 sender=org.freedesktop.DBus -> destination=:1.333 serial=4294967295 reply_serial=5
string ":1.18"
method call time=1587388493.304204 sender=:1.333 -> destination=:1.18 serial=6 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method return time=1587388493.305947 sender=:1.18 -> destination=:1.333 serial=3030 reply_serial=6
string "gnome-shell"
string "GNOME"
string "3.34.5"
string "1.2"
method call time=1587388493.306985 sender=:1.333 -> destination=:1.18 serial=7 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "notify-send"
uint32 0
string ""
string "test"
string ""
array [
]
array [
dict entry(
string "urgency"
variant byte 1
)
]
int32 -1
method call time=1587388493.312572 sender=:1.18 -> destination=org.freedesktop.DBus serial=3031 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixProcessID
string ":1.333"
method return time=1587388493.312662 sender=org.freedesktop.DBus -> destination=:1.18 serial=4294967295 reply_serial=3031
uint32 13371
method return time=1587388493.312771 sender=:1.18 -> destination=:1.333 serial=3032 reply_serial=7
uint32 42
signal time=1587388493.314095 sender=org.freedesktop.DBus -> destination=:1.333 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.333"
signal time=1587388493.314148 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.333"
string ":1.333"
string ""
method call time=1587388493.314396 sender=:1.18 -> destination=org.freedesktop.DBus serial=3033 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0=':1.333'"
method return time=1587388493.314452 sender=org.freedesktop.DBus -> destination=:1.18 serial=4294967295 reply_serial=3033
method call time=1587388493.314470 sender=:1.18 -> destination=org.freedesktop.DBus serial=3034 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string ":1.333"
error time=1587388493.314496 sender=org.freedesktop.DBus -> destination=:1.18 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=3034
string "The name does not have an owner"
^C
/label 1. Bug