The current version of Desktop Notifications Specification describes image-path hint for a notification that has a similar meaning to image-data (already implemented in Xfce4-notifyd as image_data). It would be very nice if Xfce4-notifyd could start supporting it the more that it already supports image_data. This feature is already supported by KDE Plasma notifications, notify-osd, and notification-daemon (I have some problems with the latter, though).
This sounds easy enough. Is there any application I could test this behavior with?
Created attachment 6856 Adding support for image-path As I'm not sure yet how to test this (and the tests for icons haven't been written yet) I'm attaching a patch which should implement the image-path hint. Please test and let me know whether it works!
Oh, and please note that the priority is not handled according to https://developer.gnome.org/notification-spec/#id2776582 yet, currently it's still app_icon > image-data > image-path.
Thanks for looking into it, but unfortunately I haven't since been writing desktop applications much and I don't remember any details now. Too bad I didn't include a repro app in the original report.
No worries, I quickly wrote a test and it works. I guess the only thing left to do is adjust the priorities of the icons to follow the spec. Pushed to master: https://git.xfce.org/apps/xfce4-notifyd/commit/?id=806524033f39bcb8444a5aa7b2a6f9ea323317ed