Bug 502153

Summary: Notifications created with `notify-send` don't honor the icon
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: NotificationsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, xnaxdy
Priority: NOR Keywords: regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
URL: https://gitlab.gnome.org/GNOME/libnotify/-/issues/53
See Also: https://bugs.kde.org/show_bug.cgi?id=500879
Latest Commit: Version Fixed In: libnotify-0.8.6
Sentry Crash Report:

Description Nate Graham 2025-03-29 14:00:20 UTC
I often test notifications using `notify-send`, but recently on git master, I've noticed that the --icon argument is being ignored.

For example, if I run:

> notify-send --urgency=critical --app-name "System Exploder Monitor" --icon granatier "Urgent Alert" "Your computer is about to explode"

I get a notification without an icon.
Comment 1 Naxdy 2025-03-29 14:05:50 UTC
Cannot reproduce on current master (commit 92a41d44f701c39f175a2e33aba7718e62382c32) using the command you provided - do you have any other patches applied ?
Comment 2 Nate Graham 2025-03-29 14:18:31 UTC
No, none.
Comment 3 Naxdy 2025-03-29 14:22:51 UTC
Could it be a regression in libnotify? What's your version there?

Also, do other notifications with icons still work (e.g. Telegram with the user's profile picture) or are they also broken for you?
Comment 4 Nate Graham 2025-03-29 14:42:14 UTC
Notifications with icons from Telegram and Element do show icons, yeah.

I wonder if it's related to Bug 500879 somehow. That one I couldn't reproduce!

I've got libnotify-0.8.4.
Comment 5 Naxdy 2025-03-29 14:53:49 UTC
Can reproduce with libnotify 0.8.4. Libnotify 0.8.3 (which I tested with before) doesn't have this issue. Think it's safe to say it's not our issue then.
Comment 6 Nate Graham 2025-03-29 14:54:33 UTC
Excellent, thanks. I'll report it to them.
Comment 7 Nate Graham 2025-03-29 14:58:58 UTC
Yep, looks like it's https://gitlab.gnome.org/GNOME/libnotify/-/issues/53.
Comment 8 Nate Graham 2025-03-29 17:17:57 UTC
And I can confirm that libnotify-0.8.6 fixes it.