### bug if multiple notifications have the same date and time, only the last one is registered (yet all displayed). ### how to reproduce - enable notification registering (e.g. enable "Do not disturb" mode) - $ for i in {1..10}; do notify-send $i; done # notification burst - check the registry
I can easily get this when running hexchat by doing /msg memoserv help Only the last notification is seen in the log: [2020-02-22T23:55:20] app_name=io.github.Hexchat summary=Notice from: MemoServ (freenode) body=***** End of Help ***** app_icon=hexchat expire-timeout=-1 I'm guessing the timestamp is used as a key, hence the overwrite...
Is there some way to not have to restart X for the changes to xfce4-notifyd to have effect? I tried, killing the process and `xfce4-panel -r` to no avail! (even `systemctl reload dbus`, because `restart` does kill X and have to use sysrq to unraw the keyboard for console to work) It's making patches hard to test if I've to log out of X every time before testing the change.
Created attachment 9482 use miliseconds to make sure group(aka key) is unique Well anyway, this is a good enough workaround for me. Still need to find a way to not restart X for testing it though.
Well, for whatever reason I was completely oblivious to the fact that there's an xfce4-notifyd process running, and obviously restarting it is the solution instead of restarting X. So killing xfce4-notifyd and running it again. I was only focused on the likes of this: /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnotification-plugin.so 4 12582931 notification-plugin Notification Plugin Notification plugin for the Xfce panel Thanks to EdePopede on channel #xfce on freenode irc for the tip
The patch works nicely, thanks! I'm not entirely happy with the format of the timestamp though, I would prefer something like YYYY-MM-DDThh:mm:ss.sssZ
If you wanna provide a real git patch - ideally with the aforementioned time format - I'll gladly push it with attribution.
Thanks, I appreciate it. However, I will gladly forgo any kind of attribution in favor of allowing you to create the proper/wanted patch for this. Cheers!
Simon Steinbeiss referenced this bugreport in commit c9e81d715218b4113764f78d0a1467f19f2d9c5b Fix logging simultaneous notifications (Bug #15167) https://git.xfce.org/apps/xfce4-notifyd/commit?id=c9e81d715218b4113764f78d0a1467f19f2d9c5b