Notify-osd doesn't show icon with Gnotification

Bug #1840741 reported by Khurshid Alam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notify-osd (Ubuntu)
Fix Released
Medium
Khurshid Alam

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=/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))"

Tags: eoan

Related branches

Changed in notify-osd (Ubuntu):
status: New → Confirmed
assignee: nobody → Khurshid Alam (khurshid-alam)
description: updated
Changed in notify-osd (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package notify-osd - 0.9.35+20.04.20191129-0ubuntu1

---------------
notify-osd (0.9.35+20.04.20191129-0ubuntu1) focal; urgency=medium

  [ Khurshid Alam ]
  * Support 'image-path' as hint (LP: #1840741)

 -- Sebastien Bacher <email address hidden> Fri, 29 Nov 2019 14:32:06 +0000

Changed in notify-osd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.