Applications being installed do not show the progress after reentering the preview

Bug #1234965 reported by Jamie Strandboge
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-download-manager
Fix Released
Medium
Manuel de la Peña
ubuntu-download-manager (Ubuntu)
Fix Released
Undecided
Unassigned
unity-scope-click (Ubuntu)
Fix Released
High
Alejandro J. Cura

Bug Description

 * Under 'More suggestions', start a big download (eg, sleepy time)
 * press '^' at the top to move away after it started downloading
 * try to install the app, the download will be stuck at 0%

Workaround:
 * kill ubuntu-download-manager (get its pid from 'ps auxww')
 * rm -f /home/phablet/.cache/ubuntu-download-manager
 * now you can download the app

$ adb shell system-image-cli -i
current build number: 78
device name: mako
channel: stable
last update: 2013-10-03 13:05:32
version version: 78
version ubuntu: 20131003
version device: 20131002.1

Related branches

tags: added: avengers
Revision history for this message
Manuel de la Peña (mandel) wrote :

Are you trying to download an big file and at the same time download and isntall an application??? The download manager as it is will onlye perform one download at a time, that is, first download will start and the second will be waiting for it to finish. Once the first download is completed (finished, erred, etc..) the second download will be started.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Perhaps that is what is happening-- I don't know cause there isn't any visual feedback. It is as the bug describes-- start downloading, move away, come back (even to the same application), try to install and it appears stuck at 0%. If download manager is actually doing the right thing, I suggest adding a visual indication that it is working-- android has a little indicator type thing that shows a download is in progress, which can be nice. That wouldn't strictly be required though-- if a user starts a download and moves away, then:
 * if the user tries to install a different app, the install could say "Please wait, another download in progress" (or similar)
 * if the user comes back to the same download-- the progress meter could resume to where it is currently

Revision history for this message
Manuel de la Peña (mandel) wrote :

Yes, you are 100% right, this is an issue at the UI level, and is a PITA. I belive I can fix the click-scope to deal with this situation much better and that way if you open the apps again it does state that it is downloading. I'll take a look on how to approach this. It is nevertheless a valid bug.

Changed in ubuntu-download-manager:
status: New → Confirmed
summary: - download manager can get stuck
+ download manager appears to get stuck when it doesn't
Changed in ubuntu-download-manager:
importance: Undecided → Medium
assignee: nobody → Manuel de la Peña (mandel)
Changed in unity-scope-click:
importance: Undecided → Medium
summary: - download manager appears to get stuck when it doesn't
+ Applications being installed do not show the progress after reentering
+ the preview
Leo Arias (elopio)
tags: added: qa-touch u1
tags: added: appstore
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-download-manager at revision 154, scheduled for release in ubuntu-download-manager, milestone 0.3

Changed in ubuntu-download-manager:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-scope-click (Ubuntu):
status: New → Confirmed
dobey (dobey)
affects: unity-scope-click → unity-scope-click (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.8 KiB)

This bug was fixed in the package ubuntu-download-manager - 0.3+14.04.20131219-0ubuntu1

---------------
ubuntu-download-manager (0.3+14.04.20131219-0ubuntu1) trusty; urgency=low

  [ Loïc Minier ]
  * Always honor UBUNTU_DOWNLOADER_DEBUG; we should consider switching
    release builds to -UDEBUG, but this is too intrusive right now; LP:
    #1240656. (LP: #1240656)

  [ Michael McCracken ]
  * change command for 'make check' to work when not in tree (LP:
    #1249470). (LP: #1249470)

  [ Manuel de la Pena ]
  * Fix a number of logging problems found when we went to production.
    (LP: #1240656, #1241009, #1241005, #1240967)
  * Move download ids to be strings, that way applications have more
    predictable ways to connect to the current downloads. At the moment
    only not confined apps can use predictable ids. (LP: #1234965)
  * Group all system related files under the same dir.
  * Moved all downloads related to the same directory.
  * Renamed the DownloadDaemon to Daemon to remove the redundancy in the
    name.
  * Rename DownloadFactory to Factory to remove the redundancy in the
    name.
  * Rename the DownloaderQueue to Queue to remove the redundancy in the
    name.
  * Rename DownloadManager to Manager to remove the name redundancy.
  * Rename SIngleDownlaod to FileDownload so that it makes more sense.
  * Start using namespaces planning ahead when we have a client library.
  * Add the use of a new namespace for system realted classes.
  * Sort the files under the test project so that working on it is
    simpler.
  * Add documentation about the state machine to be used for the
    downloads and its initial skeleton.
  * Ensure that finished is raised when the group download is empty.
    (LP: #1245597)
  * Allow to pass the path of the service to be started so that it is
    easier to test. (LP: #1195657)
  * Create the download state machine and add the states defined in the
    docs diagram.
  * Provide a processing signal for when the downloading is done and a
    process is being executed. (LP: #1248770)
  * Provide setters and getters for the daemon command line args. Added
    self signed ssl certs for testing purposes. (LP: #1249336)
  * Add the header transitions. There is not yet nothing done because
    parsing the header info for the attachment name is harder than
    expected.
  * Ensure that group downloads do not allow two same local paths in the
    same group. (LP: #1250181)
  * Remove all the checks against NULL before calling delete. (LP:
    #1250409)
  * Remove the not needed pimpl pattern from the DBusConnection class.
    (LP: #1251008)
  * Remove the pimpl patter from the Application class. (LP: #1251003)
  * Add the transitions for the init state.
  * Added the downloading state transitions.
  * Remove the pimpl patter from the system network info. Because pimpl
    is out we can use the new signal connection. (LP: #1250946)
  * Remove the use of the pimpl pattern in the factory object because is
    not needed. Fix some issues with the tests after the change. (LP:
    #1250927)
  * Added downloading not connected state transitions.
  * Remove the pimpl pattern from the ProcessFactory. (LP: #1251269)
  ...

Read more...

Changed in ubuntu-download-manager (Ubuntu):
status: New → Fix Released
Changed in ubuntu-download-manager:
status: Fix Committed → Fix Released
dobey (dobey)
tags: added: regression-release
Changed in unity-scope-click (Ubuntu):
importance: Medium → High
status: New → Confirmed
tags: added: rtm14
Leo Arias (elopio)
tags: added: qa-daily-testing
Thomas Strehl (strehl-t)
Changed in unity-scope-click (Ubuntu):
assignee: nobody → Alejandro J. Cura (alecu)
Changed in unity-scope-click (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-scope-click - 0.1.1+14.10.20140821.1-0ubuntu1

---------------
unity-scope-click (0.1.1+14.10.20140821.1-0ubuntu1) utopic; urgency=medium

  [ Alejandro J. Cura (alecu) ]
  * New upstream release.
    - Display Ubuntu logo in the header of apps scope. (LP: #1350610)
    - Pass the sha512 hash from the details webservice to download manager.
      (LP: #1330770)
    - Sort departments alphabetically. (LP: #1354044)
    - Exclude empty departments from the departments tree in Apps.
      (LP: #1350609)
    - Provide updated departments to match latest server changes. Bumped
      schema to 3.
    - New script to enable purchases in the scope during beta. (LP: #1356419)
    - Add dependency on libglib2.0-bin and upstart-bin for script above.
    - Enable QNetworkDiskCache for http GET requests. (LP: #1351212)
    - Query download manager for in-progress downloads. (LP: #1234965)
    - Only show extended info for apps from the store. (LP: #1350571)
    - Don't expand categories by default in the store. (LP: #1355221)
    - Do not use static const strings for translations. (LP: #1354501)
    - Change "All departments" to just "All". (LP: #1351536)
    - Localize the extra department title in the store. (LP: #1358790)
    - Updated translations.

  [ Martin Pitt ]
  * Mark for using language packs.

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Thu, 21 Aug 2014 20:40:59 +0000

Changed in unity-scope-click (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.