GNOME Bugzilla – Bug 710880
Don't notify for available updates if we have a window open and active
Last modified: 2013-11-12 09:30:21 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.
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.
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
Lets reopen this for the remaining job here: don't send the notification if we have window open and active.
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