← Back to team overview

dx-packages team mailing list archive

[Bug 1840741] [NEW] Notify-osd doesn't show icon with Gnotification

 

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 DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1840741

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

Status in notify-osd package in Ubuntu:
  New

Bug description:
  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))"

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


Follow ups