[Downloads v2] Live download state does not update after killing the app
Categories
(Firefox for Android :: Downloads, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | verified |
People
(Reporter: npoon, Assigned: titouan)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group4])
Attachments
(2 files, 3 obsolete files)
Steps to reproduce
- Start a download
- Go to the downloads screen and pause the download
- Kill the app
- Reopen the app
- Enter the downloads screen
- Click on pause, play, and or cancel
Expected behavior
The download pauses, plays, or cancels, or it shouldn't get shown on the downloads screen anymore
Actual behavior
The download does not respond to any of the action buttons. The download item cannot be deleted from pressing delete:
Updated•8 months ago
|
| Reporter | ||
Comment 1•8 months ago
|
||
| Reporter | ||
Comment 2•8 months ago
|
||
Updated•8 months ago
|
| Assignee | ||
Comment 3•8 months ago
|
||
The current behavior of Fenix Release is: when Fenix is killed, then the download is cancelled and won't be visible on the Download screen after reopening Fenix.
Currently, in Nightly: if Fenix is killed before a Download completes, after reopening Fenix the download will still be visible, but in a broken state where the Resume/Pause/Delete/Restart buttons don't have any effect.
This is because the communication with the service currently doesn't allow those features to work.
This is the approach we are taking:
- Put a patch that reproduces the behavior of Release and cancels a non-completed Download when Fenix is killed
- File a new bug to keep a Download even when Fenix is killed, and give the ability for the user to interact with it (Resume/Pause/Delete/Restart). This bug depends on Bug 1949821, requiring a non-trivial rework on the Download Service.
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 4•8 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
Comment 5•8 months ago
|
||
Comment on attachment 9500703 [details]
Bug 1977393 - Part 1: Fix unresponsive download control actions after killing fenix
Revision D257309 was moved to bug 1977912. Setting attachment 9500703 [details] to obsolete.
Comment 6•8 months ago
|
||
Comment on attachment 9500704 [details]
Bug 1977393 - Part 2: Refactor DownloadFragment.openFile and remove FileItem.Status.toDownloadStateStatus
Revision D257310 was moved to bug 1977912. Setting attachment 9500704 [details] to obsolete.
Backed out for causing Android build bustages @ AbstractFetchDownloadServiceTest
Comment 10•8 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
Comment 11•8 months ago
|
||
Comment 12•8 months ago
|
||
Backed out for causing build bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/8431bd0bd3ecf6ed0bcf0ec4f76931e523af9cc9
Log link: https://treeherder.mozilla.org/logviewer?job_id=519782433&repo=autoland&lineNumber=2690
| Assignee | ||
Comment 13•8 months ago
|
||
Comment 14•8 months ago
|
||
| Assignee | ||
Updated•8 months ago
|
Comment 15•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/54f4ac86d32f
https://hg.mozilla.org/mozilla-central/rev/6457309ebbc3
Comment 17•7 months ago
|
||
Verified as fixed on the latest Firefox for Android Nightly 143.0a1 from 8/12.
Tested with Samsung Galaxy Tab S9 Ultra (Android 15), and an Oppo Find X3 Lite (Android 11).
| Reporter | ||
Comment 18•7 months ago
|
||
Comment 19•7 months ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 20•7 months ago
|
||
Comment on attachment 9508578 [details]
Bug 1977393 - Don't delete completed downloads when killing Fenix
Revision D262015 was moved to bug 1984318. Setting attachment 9508578 [details] to obsolete.
| Comment hidden (Intermittent Failures Robot) |
Description
•