GNOME Bugzilla – Bug 679888
libnotify sets incorrect "icon_data" hint for notifications before first show() call
Last modified: 2020-11-26 15:31:06 UTC
Created attachment 218754 [details] Send a notification with an attached pixbuf With the update to notification-daemon 0.7.5 we are now getting warnings such as: (notification-daemon:2768): WARNING **: "icon_data" hint is deprecated, please use "image_data" instead which can be reproduced using libnotify 0.7.5 (attached is a simple example which triggers the warning, removing the comments and recompiling will not trigger it). It seems that the server spec version is not fetched initially until the first call to notify_notification_show(), by which point, the pixbuf will have already been attached, using the wrong hint on a 1.2 spec version notification daemon. I managed to workaround the issue by adding a dummy call to _notify_get_proxy() in notify_notification_init(), not really sure if there is a better way.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all older bug reports and feature requests in GNOME Bugzilla which have not seen updates for a while. If you still use libnotify and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at https://gitlab.gnome.org/GNOME/libnotify/-/issues/ by following the guidelines at https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines Thank you for creating this report and we are sorry it could not be implemented so far (volunteer workforce and time is limited).