Bug 347496 - Tray icon doesn't unhide when there are new updates available
Summary: Tray icon doesn't unhide when there are new updates available
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: PackageKit (show other bugs)
Version: 5.6.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Jonathan Thomas
URL:
Keywords:
: 360935 363442 368745 384362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-10 07:55 UTC by Antonio Rojas
Modified: 2017-10-22 20:03 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2015-05-10 07:55:32 UTC
The tray icon should unhide when packagekit detects new updates. Currently it only unhides after killing and restarting plasmashell

Reproducible: Always
Comment 1 Aleix Pol 2015-05-14 11:13:03 UTC

*** This bug has been marked as a duplicate of bug 347602 ***
Comment 2 Antonio Rojas 2016-03-29 16:40:12 UTC
Reopening since the bug this one was marked as a duplicate of was fixed but this one is not (as of 5.6.0)
Comment 3 Aleix Pol 2016-03-29 17:03:57 UTC
Uh true, I thought it was the dreaded Ubuntu bug.

I'll have to see what's going on, my impression is that it works here. How do you detect it?
Comment 4 Antonio Rojas 2016-03-29 17:11:23 UTC
Wait for packagekit to find new updates, or force it with 'pkcon get-updates' -> discover icon stays hidden

Restart plasmashell -> Discover icon is shown
Comment 5 Aleix Pol 2016-03-30 10:22:47 UTC
Can you check if calling "pkcon get-updates" also does the trick?
Comment 6 Antonio Rojas 2016-03-30 10:36:44 UTC
No, doesn't make any difference whether the updates are retrieved automatically or manually.
Comment 7 Aleix Pol 2016-03-31 10:45:57 UTC
I can reproduce, thanks.
Comment 8 Aleix Pol 2016-04-05 17:31:50 UTC
*** Bug 360935 has been marked as a duplicate of this bug. ***
Comment 9 Aleix Pol 2016-05-24 15:42:36 UTC
*** Bug 363442 has been marked as a duplicate of this bug. ***
Comment 10 Aleix Pol 2016-09-14 10:46:26 UTC
*** Bug 368745 has been marked as a duplicate of this bug. ***
Comment 11 Antonio Rojas 2016-10-02 10:34:00 UTC
It seems to me that this is an upstream issue. I monitored the PK dbus traffic and the UpdatesChanged signal is never emitted when the available updates list changes, only when updating packages with pkcon. 
I have no idea if this is a bug or intended behavior, or if it only affects the alpm PK backend.
Comment 12 Antonio Rojas 2016-10-02 10:43:28 UTC
Reported upstream:
https://github.com/hughsie/PackageKit/issues/169
Comment 13 Aleix Pol 2016-10-03 22:29:01 UTC
Thanks, keeping it open to remember.
Comment 14 Antonio Rojas 2017-09-04 20:09:57 UTC
*** Bug 384362 has been marked as a duplicate of this bug. ***
Comment 15 Nate Graham 2017-10-19 21:41:11 UTC
Aleix, can we close this as RESOLVED UPSTREAM? If it's not our bug, it would be nice to get it out of the queue. :)
Comment 16 Aleix Pol 2017-10-19 22:33:23 UTC
Good point, in fact I have the feeling it's working for me now. Can you confirm Alejandro?
Comment 17 Antonio Rojas 2017-10-20 18:03:42 UTC
(In reply to Aleix Pol from comment #16)
> Good point, in fact I have the feeling it's working for me now. Can you
> confirm Alejandro?

Not sure who Alejandro is :) but this still doesn't work for me, PK 1.1.7 doesn't send any signal when new updates are available. But given that upstream doesn't seem to have much interest in fixing this I don't see the point of keeping this open...
Comment 18 Daniel Duris 2017-10-22 15:31:55 UTC
Works for me now. 

Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artful