app install progress bar resets to 0 when scrolled out of view

Bug #1547255 reported by Michael Zanetti
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Triaged
Medium
Andrea Cimitan

Bug Description

Install a larger app (e.g. dockviewer). While its downloading, scroll down to the reviews and wait a considerable amount of time (i.e. wait for it to be installed) and then back up. The progress bar will show 0% now.

Comment from Albert: The problem is that the scope is relying on the UI to tell the scope when the installation has finished (See onFinished in PreviewProgress.qml) but this won't if you have scrolled the Progress widget out of view since it's getting deleted.

Comment from Albert #2: If we have to solve this at the UI because how the architecture of the scopes works, i suggest having a Repeater in Preview.qml that instantiates all the same "widgets" that previewListRow does but in this case it's only "invisible" stuff like the DownloadTracker from PreviewProgress, that way by having a repeater we allow the previews to have a "visible" part that gets created/destroyed whether its needed and a persistant part.

Revision history for this message
Albert Astals Cid (aacid) wrote :

I can't see to reproduce with todays build

Revision history for this message
Albert Astals Cid (aacid) wrote :

Marking as incomplete, please provide info if you can still reporduce it or not.

Changed in unity8 (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Zanetti (mzanetti) wrote :

hmm... can't see it any more either...

Changed in unity8 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Michael Zanetti (mzanetti) wrote :

I'm seing this again. Happens most of the times actually.

Changed in unity8 (Ubuntu):
status: Invalid → New
Andrea Cimitan (cimi)
Changed in unity8 (Ubuntu):
assignee: nobody → Andrea Cimitan (cimi)
Changed in unity8 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
description: updated
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

For me it's easy to reproduce with installing the SoundCloud scope as there are lots of reviews to scroll down through.

1) Tap the "Install" widget at the top of the "SoundCloud scope" store page.
2) As soon as the progress bar starts to animate, scroll to the bottom of the preview page.
3) Wait for the installation to complete (you'll kinda have to guess when it's done according to your internet connection as there will be no indication).
4) Scroll back up to the top of the preview page.

You'll notice that the top widget is now an empty 0% progress bar.
You'll also notice that there is no "Add a review" edit box visible (this should appear above the "Reviews" section upon successful installation).

description: updated
description: updated
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.