Replacing notification does remove buttons
Affected version
- GNOME 44 (Fedora 38) and
main
(Fedora 39) without any extensions - Wayland
Bug summary
Steps to reproduce
- Send a notification to GNOME Shell via FDO API (see command below)
- Send second notification replacing the notification of step one to GNOME Shell via FDO API (see command below)
- Hover notification to show buttons of the banner. You will notice that there aren't any
Use the following command to send the notification.
Replace REPLACE_ID
with 0
for the first call and with the return value from the first call for the second notification.
gdbus call --session --dest org.freedesktop.Notifications \
--object-path /org/freedesktop/Notifications \
--method org.freedesktop.Notifications.Notify \
app_name \
REPLACE_ID \
app_icon \
"Message" "Body" \
"['0', 'app.something']" \
"{}" \
1
What happened
GNOME Shell doesn't display any buttons in the notification banner when hovered after a notification got replaced
What did you expect to happen
GNOME Shell should display buttons in the notification banner when hovered even when a notification got replaced
Relevant logs, screenshots, screencasts etc.
Edited by Julian Sparber