update notifier doesn't list how many packages needs updating

Bug #282676 reported by Pascal d'Hermilly
4
Affects Status Importance Assigned to Milestone
update-notifier-kde (Ubuntu)
Fix Released
Low
Roderick B. Greening
Intrepid
Fix Released
Low
Roderick B. Greening

Bug Description

Binary package hint: update-notifier-kde

The old adept_notifier listed how many packages needed updating when you hover the mouse over it. The new update-notifier doesn't do anything when you hover the mouse over it. It would be a nice feature if it worked like adept_notifier in that way.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

If you get a tooltip, it will show you how many packages need updating.
Not getting the tooltip is the real problem here. ;-)

Changed in update-notifier-kde:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
David Gaarenstroom (david-gaarenstroom) wrote :

Could you improve this bug report, e.g. add Ubuntu version, update-notifier-kde version, etc.
Because last time I checked it did work on my Intrepid install...

Changed in update-notifier-kde:
status: Confirmed → Incomplete
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Well, the issue doesn't occur all the time. Only some times.
But, whatever.
Obviously, this bug is regarding Kubuntu 8.10.
update-notifier-kde is at 0.7

Changed in update-notifier-kde:
status: Incomplete → Confirmed
Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

I started noticing this at 0.7 as well. It did work in earlier versions. I believe it may be related to some additions in 0.7.

I'll investigate further, assuming someone else hasn't already started a fix.

Changed in update-notifier-kde:
assignee: nobody → roderick-greening
status: Confirmed → In Progress
Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

Actually, version 0.6 was when I noticed it happening (not 0.7).

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Yeah, I think that's when it started happening. I noticed it one or two times back then but assumed the error was transient. It's actually happening all the time for me.

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

Digging a little further, it appears that it does work as expected if you restart update-notifier-kde and there are pending updates available.

It only appears to fail if there are updates discovered after update-notifier-kde is already up and running. This should help narrow down the problem location.

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

Further debugging reveals that as you do a adept update on the sources, the tooltip works and then is overridden again. The offending line is 125. See below code snippit:

   def aptDirectoryChanged(self, path=None):
        """ check for updates, if there are any show the tray icon """
        metaRelease = MetaReleaseCore()
        while metaRelease.downloading:
            time.sleep(1)
        self.new_dist = metaRelease.new_dist
        self.trayToolTip = ""

The self.trayToolTip = "" resets the tooltip to empty again after it properly displays the tooltip on the first detection. I suspect that this should go into some if/then check or be pulled into the init method. Will need some testing.

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :
Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

Fixed in 0.9

Changed in update-notifier-kde:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier-kde - 0.9

---------------
update-notifier-kde (0.9) intrepid; urgency=low

  * Patch from R Greening, do not wipe contents of tooltip, closes LP: #282676

 -- Jonathan Riddell <email address hidden> Thu, 23 Oct 2008 15:21:49 +0100

Changed in update-notifier-kde:
status: Fix Committed → 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.