hplip notifications do not integrate

Bug #373773 reported by zwaardmeester
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Committed
Medium
Unassigned
notify-osd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

HP Device Manager notifications do not integrate with the new Jaunty notification system. I have HPLIB from the repositories installed, which is version 3.9.2. The Device manager version is 15.0 with Qt4.

How to repeat: open the HP Device Manager (which is called "HPLIB Toolbox") and print something.

Revision history for this message
zwaardmeester (zwaardmeester) wrote :
Revision history for this message
Mirco Müller (macslow) wrote :

That looks like HP Device Manager is not using notifications following the galago spec (http://www.galago-project.org/specs/notification/0.9/index.html) at all. According to you remark it seems to be a Qt application using it's own notification bubble rendering system. This bug is therefore invalid and does not apply to notify-osd.

You need to contact the upstream developers of HP Device Manager and ask them to patch their application to work with notify-osd following our guidelines (https://wiki.ubuntu.com/NotificationDevelopmentGuidelines, https://wiki.ubuntu.com/NotificationDesignGuidelines ).

kampetter might know who's the upstream developer of this tool.

Changed in notify-osd (Ubuntu):
status: New → Invalid
Revision history for this message
Mirco Müller (macslow) wrote :

Bug https://bugs.edge.launchpad.net/hplip/+bug/354451 filed against HPLIP indicates HPLIP not using a libnotify-based notification-system correctly. Thus notifications are no passed via DBus according to the specs (https://wiki.ubuntu.com/NotifyOSD, http://www.galago-project.org/specs/notification/0.9/). HPLIP needs to be patched to use libnotify.

From my investigations in the qt3 version of hplip only hplip/ui/systemtray.py needs to be changed. For that I attached a patch. It would be nice if someone could test/verify that, because I don't have any HP-hardware to properly use hplip with.

The qt4 version of hplip is using showMessage, which is a method of QSysTray. There are three occurances in hplip/ui4/systemtray.py and six occurances in hplip/ui4/devmgr5.py which have to be adapted to use libnotify. As a guide for what calls to use see the icon-summary-body.py example of https://edge.launchpad.net/notify-osd (notify-osd/examples/icon-summary-body.py). Or just take a look at the attached patch for the qt3 version of hplip.

Revision history for this message
dwelch91 (dwelch91) wrote : Re: [Bug 373773] Re: hplip notifications do not integrate

I've added your patch to the Qt3 hp-systray code and a similar code change
to the Qt4 hp-systray. Both of these changes will be in HPLIP 3.9.6.

One question: I don't quite understand what code in ui4/devmgr5.py needs to
change for this feature?

On Wed, May 13, 2009 at 3:51 AM, Mirco Müller <email address hidden>wrote:

> Bug https://bugs.edge.launchpad.net/hplip/+bug/354451 filed against
> HPLIP indicates HPLIP not using a libnotify-based notification-system
> correctly. Thus notifications are no passed via DBus according to the
> specs (https://wiki.ubuntu.com/NotifyOSD, http://www.galago-
> project.org/specs/notification/0.9/). HPLIP needs to be patched to use
> libnotify.
>
> >From my investigations in the qt3 version of hplip only
> hplip/ui/systemtray.py needs to be changed. For that I attached a patch.
> It would be nice if someone could test/verify that, because I don't have
> any HP-hardware to properly use hplip with.
>
> The qt4 version of hplip is using showMessage, which is a method of
> QSysTray. There are three occurances in hplip/ui4/systemtray.py and six
> occurances in hplip/ui4/devmgr5.py which have to be adapted to use
> libnotify. As a guide for what calls to use see the icon-summary-body.py
> example of https://edge.launchpad.net/notify-osd (notify-osd/examples
> /icon-summary-body.py). Or just take a look at the attached patch for
> the qt3 version of hplip.
>
>
> ** Attachment added: "patch for qt3-version of hplip to use libnotify"
> http://launchpadlibrarian.net/26668579/use_libnotify_qt3.patch
>
> --
> hplip notifications do not integrate
> https://bugs.launchpad.net/bugs/373773
> You received this bug notification because you are a member of HP Linux
> Imaging and Printing, which is subscribed to HPLIP.
>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) wrote :

To be fixed in 3.9.6.

Changed in hplip:
assignee: nobody → Aaron Albright (kalosaurusrex)
importance: Undecided → Medium
status: New → Fix Committed
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.