Notification does not disappear when ayatana-webmail sends a notification and closes for some reason
I noticed this while debugging xfce/xfce4-panel#726 (closed). It's reproducible for example by setting up a mail account in the app, then editing the password to introduce an error, then restarting the app.
As it looks like #96 (closed), here is the output of dbus-monitor
(the last part is when I click on the notification to make it disappear):
$ dbus-monitor "interface='org.freedesktop.Notifications'"
signal time=1680273197.356380 sender=org.freedesktop.DBus -> destination=:1.224 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.224"
signal time=1680273197.356608 sender=org.freedesktop.DBus -> destination=:1.224 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.224"
method call time=1680273221.014134 sender=:1.225 -> destination=:1.223 serial=38 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method call time=1680273221.026318 sender=:1.225 -> destination=:1.223 serial=39 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "Ayatana Webmail"
uint32 0
string "ayatanawebmail"
string "Erreur de connexion"
string "Impossible de se connecter au compte « XXX », l'application va maintenant se fermer."
array [
]
array [
dict entry(
string "desktop-entry"
variant string "ayatanawebmail"
)
dict entry(
string "sender-pid"
variant int64 24382
)
]
int32 0
signal time=1680273230.751380 sender=:1.223 -> destination=(null destination) serial=43 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
uint32 1
uint32 2
^C
$