** Description changed:
[Impact]
On Ubuntu 24.04 LTS with GNOME Shell 46.0, notifications sent in quick
succession (e.g. multiple notify-send calls in a for-loop) do not appear
correctly. Only the first popup is shown, the others remain queued and
do not get shown unless a new notification triggers the queue.
[Test Case]
1. Log-in to Ubuntu Desktop
2. Run:
for i in {1..5}; do notify-send --hint=int:id:$RANDOM "Test $i" "Message
$i"; done
- 3. Verify that all 5 notifications were shown, one after the other when
- the timeout for the previous notification expires, in the correct order
- 1 through 5.
+ 3. Verify that the first 3 notifications were shown, one after the other
+ when the timeout for the previous notification expires, in the correct
+ order 1 through 3.
- 4. Now run:
- notify-send "trigger" "flush"
-
- 5. Verify that only the "flush" notification was shown, and no other
- ones.
+ 4. Verify that the remaining notifications were hidden in the
+ calendar/notifications popup
[ Where problems could occur ]
The patch modifies the logic to detect when a notification can be considered
expired and thus removed from the screen, by adding an additional constraint.
If the new logic were to be wrong, notifications may not disappear
automatically from the screen after a timeout.
[ Other info ]
A workaround was also found:
Using the "Notification Timeout" GNOME extension and setting a timeout value
(e.g. 1s) restores queue processing.
[System Info]
- Ubuntu 24.04 LTS
- GNOME Shell 46.0
- Mutter 46.0
- X11 session (but same on Wayland)
- xdg-desktop-portal 1.18.4
- xdg-desktop-portal-gnome 46.2
This issue appears on clean installations with no GNOME Shell extensions
enabled.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116717
Title:
GNOME Shell does not show notifications sent in burst — only first is
shown, others stay queued
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2116717/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs