notifications: No new notifications are accepted after maximum count is exceeded
- Run
dbus-monitor type=error
- Run
for i in {1..23}; do notify-send "$i"; done
- Observe how the last couple of notifications fail with
org.freedesktop.Notifications.MaxNotificationsExceeded
. That part is expected, though arguably questionable: The Freedesktop specification doesn't know anything about this error, and no other notification daemon seems to use it. Here's where it was introduced: Add a limit of 20 notifications at a time. - Wait until the existing notifications are closed (due to them timing out)
- Run
notify-send foo
- Observe how no notification is shown, and another
MaxNotificationsExceeded
error is shown, despite no notifications being displayed at all.
This is with GNOME Flashback 3.36.5 on Ubuntu 20.04. I can try to test 3.40.0 (or even git master) on Archlinux if needed, but since there aren't many recent changes to notifications I'm not sure if it'd make much of a difference.
Please also let me know if I should report this in the notification-daemon repository - the code over there seems to be the same, but I'm not sure how active that repository still is really.