[Bug 1284217] Re: [updates] Displays a spinner indefinitely when an update download was started externally

Iain Lane iain at orangesquash.org.uk
Tue Feb 25 15:23:58 UTC 2014


I don't remember talking about this before, but maybe I just forgot. :)

Anyway. The UAS signal contains all of the details about the update that
the UI needs to display itself.

In system-settings, the two checks are quite separate. Think of them as
two different clients if possible. In fact, it wouldn't even be possible
to get this bug if you hadn't received at least one UAS, because it is
this signal that the UI looks at to decide whether to show you the menu
item that takes you to the updates page in the first place.

It's like this

 → checkForUpdate
 ← UAS
 ← UpdateProgress … 
 (user clicks on 'updates available')
 → checkForUpdate
 ← silence

The UI at this point could pick up the UpdateProgress signals that are
happening, but it can't give you any of the normal details about the
update that is currently being downloaded.

I'm not asking for a 1-1 mapping between checkForUpdate calls and
UpdateAvailableStatus emissions, but it seems that there is a bug where
UAS is never emitted while a download is in progress (in 'real' only,
under testing it does indeed work for me). Actually, I forgot to check
if it's emitted after the download is finished too. Can do that if it's
important.

The message I pasted in the earlier comment was printed as a result of
the second call I made.

Is *this* expectation unreasonable? I'm going to attach a dbus log that
shows the signals that s-i-dbus emitted during my test run. Somewhere in
the middle of the downloading phase, after the UAS, is where I tried to
do some more checkForUpdate calls.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1284217

Title:
  [updates] Displays a spinner indefinitely when an update download was
  started externally

Status in Ubuntu system image (server/client/updater):
  New
Status in “system-image” package in Ubuntu:
  New
Status in “ubuntu-system-settings” package in Ubuntu:
  Triaged

Bug description:
  These packages are currently in the CI train PPA
  <https://launchpad.net/~ci-train-ppa-service/+archive/landing-010/>.
  Upgrade to these first.

  1. Make sure you're on auto download of updates (wi-fi) and that there's a system image update available to you
  2. Open system-settings
  3. Wait for "Updates available" to show, and click it
  4. "Checking for updates" and an activity indicator appear
  5. Wait. Don't let the screen blank (bug #1259326 - not sure this is actually still a problem but better safe than sorry). The update is downloading in the background at this point.
  6.  When the update has finished downloading, you'll see the standard popover inviting you to install or cancel.

  What should have happened is: instead of or shortly after step 4, we
  should have seen the status of the in-progress download, just as if
  we'd started it from the update panel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-image/+bug/1284217/+subscriptions



More information about the foundations-bugs mailing list