No mechanism to query downloads after application restart
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 |