Pressing the pause button on update page sets progress to 0

Bug #1316933 reported by Thomas Strehl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
High
Ken VanDine

Bug Description

Resuming the update puts it back to the percentage it had before pressing pause. I'd expect that pause only pauses the update, but progress would remain visible.

<https://wiki.ubuntu.com/SoftwareUpdates#pausing-mobile>: "If you choose “Pause” during a download or an app installation, the update should pause and return to its idle presentation."

Related branches

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Can you attach a screenshot? Per spec, a paused update shouldn't have a progress bar at all. This isn't clear, though, and I realize now that I hadn't specified how to resume it.

Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Matthew Paul Thomas (mpt)
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Specification updated. <https://wiki.ubuntu.com/SoftwareUpdates?action=diff&rev2=176&rev1=175> Pausing should return an update to its original presentation, which doesn't have a progress bar at all.

Changed in ubuntu-system-settings (Ubuntu):
assignee: Matthew Paul Thomas (mpt) → nobody
status: New → Triaged
description: updated
Revision history for this message
Thomas Strehl (strehl-t) wrote :

What exactly means "idle" in this context? Not showing any progress bar at all?

Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Low
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Thomas, yes. It's the "None of the above" state in <https://wiki.ubuntu.com/SoftwareUpdates#Presenting_an_individual_update>.

Revision history for this message
Thomas Strehl (strehl-t) wrote :

Thanks for clarifying. Just wondering, this appears then to users as if the download has been cancelled, so either we really cancel instead of pause or we have another state saying "resume"?

Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Diego Sarmentero (diegosarmentero)
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

The button is labelled "Pause" to reassure you that the partial download won't just be discarded, especially if it's a large one nearly finished. But after that, I don't think there's any particular reason to distinguish between a paused update and a never-started one. If you wait so long that an even newer version of the software becomes available, the download will start from scratch anyway.

Changed in ubuntu-system-settings (Ubuntu):
importance: Low → High
Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Diego, "fix commited" looks wrong there since there is no merge proposal with a fix for that nor a fix commited in the vcs. If you have local work to address the bug then maybe "in progress" would fit better?

Changed in ubuntu-system-settings (Ubuntu):
status: Fix Committed → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue? seems to work fine here

Revision history for this message
Thomas Strehl (strehl-t) wrote :

Well, it pauses now and keeps showing the percentage, but that is not according to latest design spec as mentioned above by mpt.

Changed in ubuntu-system-settings (Ubuntu):
assignee: Diego Sarmentero (diegosarmentero) → Ken VanDine (ken-vandine)
status: Triaged → In Progress
Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → 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.