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.
Cannot reproduce on current master (commit 92a41d44f701c39f175a2e33aba7718e62382c32) using the command you provided - do you have any other patches applied ?
No, none.
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?
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.
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.
Excellent, thanks. I'll report it to them.
Yep, looks like it's https://gitlab.gnome.org/GNOME/libnotify/-/issues/53.
And I can confirm that libnotify-0.8.6 fixes it.