No mechanism to query downloads after application restart

Bug #1486971 reported by Michael Sheldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-download-manager
Fix Released
Undecided
Michael Sheldon

Bug Description

We're currently implementing downloads within the browser (so the browser downloads files internally, which can then be sent to an app later, in addition to the current support sending downloads directly to an app via content-hub); however if the browser is closed whilst a download is still in progress there's currently no way in which the browser can find out if the download has completed after being restarted.

It would be useful to be able to query the state of a previously started download via it's UUID. This way the browser would be able to check all its incomplete downloads on start up and process any that have finished or prepare to process any that are still ongoing (so some way of later getting a finished signal for downloads still in progress would be needed).

Perhaps this could be done by connecting a SingleDownload object to an existing download by setting an existing UUID on its downloadId property? This would then allow for progress and finished signals to be sent for downloads that are still ongoing, or just an immediate finished signal for those that are already complete?

Changed in ubuntu-download-manager:
assignee: nobody → Michael Sheldon (michael-sheldon)
status: New → 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.