After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679888 - libnotify sets incorrect "icon_data" hint for notifications before first show() call
libnotify sets incorrect "icon_data" hint for notifications before first show...
Status: RESOLVED OBSOLETE
Product: libnotify
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: libnotify-maint
libnotify-maint
Depends on:
Blocks:
 
 
Reported: 2012-07-13 19:45 UTC by Jason Conti
Modified: 2020-11-26 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Send a notification with an attached pixbuf (964 bytes, application/octet-stream)
2012-07-13 19:45 UTC, Jason Conti
Details

Description Jason Conti 2012-07-13 19:45:31 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.
Comment 1 André Klapper 2020-11-26 15:31:06 UTC
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).