After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710880 - Don't notify for available updates if we have a window open and active
Don't notify for available updates if we have a window open and active
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-10-25 14:21 UTC by Mathieu Bridon
Modified: 2013-11-12 09:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu Bridon 2013-10-25 14:21:34 UTC
If the prepared-update file appears while GNOME Software is running, then it won't refresh its « Updates » page, and keep saying that « Software is up to date ».

Instead, it should probably pick up on the fact that the update has been prepared, and refresh the page to present the updates to the user.
Comment 1 Matthias Clasen 2013-10-25 14:52:02 UTC
In git master, we *are* monitoring that file, but only to send a notification. That code needs some elaboration to become aware of whether we have a window open or now.
Comment 2 Richard Hughes 2013-10-29 10:34:28 UTC
commit d070241e6e2852af77679f99c830df32c854e4e4
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue Oct 29 10:33:53 2013 +0000

    Refresh the updates panel if the update state changes
    
    You can debug this by doing:
    
    $ pkcon update --only-download
    $ sudo rm /var/lib/PackageKit/prepared-update
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=710880
Comment 3 Matthias Clasen 2013-10-30 09:42:02 UTC
Lets reopen this for the remaining job here:

don't send the notification if we have window open and active.
Comment 4 Richard Hughes 2013-11-12 09:30:21 UTC
commit 62610d8f35437d3acd30490287f4402cc7a609f4
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue Nov 12 09:29:23 2013 +0000

    Don't notify for available updates if we have a window open and active
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=710880