** Description changed:

  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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1547255

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

Status in unity8 package in Ubuntu:
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1547255/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to