Open warwickmm opened 2 years ago
When using budgie-desktop (which I believe also uses network-manager-applet), the notifications do appear as expected.
When using budgie, dbus-monitor "interface='org.freedesktop.Notifications'"
indicates some activity when disabling/enabling network connections:
$ dbus-monitor "interface='org.freedesktop.Notifications'"
signal time=1667760077.239117 sender=org.freedesktop.DBus -> destination=:1.118 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.118"
signal time=1667760077.239211 sender=org.freedesktop.DBus -> destination=:1.118 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.118"
method call time=1667760079.532650 sender=:1.112 -> destination=:1.108 serial=25 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
uint32 0
method call time=1667760086.485270 sender=:1.112 -> destination=:1.108 serial=26 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "NetworkManager"
uint32 0
string "nm-no-connection"
string "Disconnected"
string "The network connection has been disconnected."
array [
string "disable-disconnected-notifications"
string "Don’t show this message again"
]
array [
dict entry(
string "transient"
variant boolean true
)
dict entry(
string "desktop-entry"
variant string "nm-applet"
)
dict entry(
string "urgency"
variant byte 0
)
dict entry(
string "sender-pid"
variant int64 15675
)
]
int32 -1
method call time=1667760089.929752 sender=:1.112 -> destination=:1.108 serial=27 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=CloseNotification
uint32 2
signal time=1667760089.937865 sender=:1.108 -> destination=(null destination) serial=79 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
uint32 2
uint32 3
method call time=1667760095.240142 sender=:1.112 -> destination=:1.108 serial=28 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "NetworkManager"
uint32 0
string "nm-signal-100"
string "Connection Established"
string "You are now connected to the Wi-Fi network “CletusVanDamme”."
array [
string "disable-connected-notifications"
string "Don’t show this message again"
]
array [
dict entry(
string "transient"
variant boolean true
)
dict entry(
string "desktop-entry"
variant string "nm-applet"
)
dict entry(
string "urgency"
variant byte 0
)
dict entry(
string "sender-pid"
variant int64 15675
)
]
int32 -1
signal time=1667760101.256354 sender=:1.108 -> destination=(null destination) serial=86 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
uint32 3
uint32 1
However when using cinnamon, there is no such activity when disabling/enabling network connections:
$ dbus-monitor "interface='org.freedesktop.Notifications'"
signal time=1667760152.142087 sender=org.freedesktop.DBus -> destination=:1.48 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.48"
signal time=1667760152.142202 sender=org.freedesktop.DBus -> destination=:1.48 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.48"
In cinnamon, I do see activity when using $ notify-send hello
:
$ dbus-monitor "interface='org.freedesktop.Notifications'"
signal time=1667761238.209895 sender=org.freedesktop.DBus -> destination=:1.63 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.63"
signal time=1667761238.209986 sender=org.freedesktop.DBus -> destination=:1.63 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.63"
method call time=1667761245.004642 sender=:1.64 -> destination=:1.31 serial=6 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method call time=1667761245.008359 sender=:1.64 -> destination=:1.31 serial=7 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method call time=1667761245.010848 sender=:1.64 -> destination=:1.31 serial=8 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "notify-send"
uint32 0
string ""
string "hello"
string ""
array [
]
array [
dict entry(
string "urgency"
variant byte 1
)
dict entry(
string "sender-pid"
variant int64 24938
)
]
int32 -1
When a connection attempt fails, I do see an "Activation of network connection failed" notification (strangely, dbus-monitor "interface='org.freedesktop.Notifications'"
doesn't indicate any activity for that). However, connection/disconnection notifications do not appear.
Is anyone else experiencing this issue?
If I create a new user, then the notifications are appearing as expected. Would someone be able to suggest a simple way to compare the configurations between my current user and the new one?
I wasn't able to figure it out, but "Restore all settings to default" fixed the notifications.
After about a month, the notifications have disappeared again. I don't recall doing anything to hide the notifications.
$ gsettings get org.gnome.nm-applet disable-connected-notifications
false
$ gsettings get org.gnome.nm-applet disable-disconnected-notifications
false
Issue
Notifications for network connections/disconnections no longer appear. Notifications for other events are working as expected.
Steps to reproduce
Expected behaviour
Upon disconnecting from a network, a notification appears. Upon connecting to a network, a notification appears.
Other information
Here's a screenshot of dconf-editor:
Contents of
~/.xsession-errors
:Configuration info, if applicable
If this bug report is related to an Applet, Desklet or Extension, please paste (or use a pastebin service) the offending extension's settings, if it has any. You can obtain this by opening its configuration, clicking the 'hamburger' button in the upper-right corner of the window, and selecting "Export to a file". Please be sure to review the contents and remove any personal data it may contain.