Public bug reported:

Both freedesktop notification (https://developer.gnome.org/notification-
spec/) spec & gnotification use "image-path" as hint where notify-osd
uses "image_path".

As a result when one uses themed icon with gnotification it doesn't show
the icon. Support for themed icon landed in
https://github.com/GNOME/glib/commit/ec1edef3

This can easily be verified with

IMAGE=edit-copy
# IMAGE=/usr/share/icons/Adwaita/48x48/actions/edit-copy.png
python -c "import dbus; print dbus.Bus().call_blocking(\
    'org.freedesktop.Notifications', \
    '/org/freedesktop/Notifications', \
    'org.freedesktop.Notifications', \
    'Notify', \
    'susssasa{sv}i', \
    ('appname', 0, '', 'summary', 'body', [], {'image-path': '$IMAGE'}, -1))"

** Affects: notify-osd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: eoan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840741

Title:
  Notify-osd doesn't show icon with Gnotification

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/1840741/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to