Closed
Bug 1912455
Opened 1 year ago
Closed 1 year ago
Clicking pause at 100% and then resume results in "Download failed"
Categories
(Firefox for Android :: Downloads, defect)
Tracking
()
RESOLVED
FIXED
137 Branch
People
(Reporter: npoon, Assigned: giorga)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [group4])
Attachments
(3 files, 1 obsolete file)
Steps to reproduce
- Start downloading a file (from this site for example)
- Press pause when the download notification has reached 100% but "Download completed" has not shown yet.
i. If the download notification does not hit 100% (i.e. it goes from x% to "Download completed" where x < 100), try downloading again. - Press resume
- Observe that the notification shows "Download failed". However, if we go to the downloads directory, the download actually has not failed and can be successfully played.
Expected behavior
The notification should have said "Download completed".
Actual behavior
The notification says "Download failed".
Device information
- Firefox version: 130
- Android device model: Samsung A35
- Android OS version: Android 14
| Reporter | ||
Updated•1 year ago
|
status-firefox130:
--- → affected
| Reporter | ||
Updated•1 year ago
|
Attachment #9418527 -
Attachment is obsolete: true
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
|
||
Logcat stack trace:
ACTION_RESUME for 51e55713-f013-4fa9-9947-1ec7fa2b86a9
2024-08-06 10:41:39.352 1842-2322 DownloadMiddleware org.mozilla.fenix.debug D Updated download BigBuckBunny(5).mp4 on the storage
2024-08-06 10:41:39.353 1842-7945 AbstractFe...oadService org.mozilla.fenix.debug D Starting download for 51e55713-f013-4fa9-9947-1ec7fa2b86a9
2024-08-06 10:41:39.421 1842-7945 AbstractFe...oadService org.mozilla.fenix.debug D Fetching download for 51e55713-f013-4fa9-9947-1ec7fa2b86a9
2024-08-06 10:41:39.424 1842-7945 AbstractFe...oadService org.mozilla.fenix.debug D Unable to fetching Download for 51e55713-f013-4fa9-9947-1ec7fa2b86a9 status FAILED
2024-08-06 10:41:39.425 1842-2322 DownloadMiddleware org.mozilla.fenix.debug D Updated download BigBuckBunny(5).mp4 on the storage
2024-08-06 10:41:39.764 1842-1842 NotificationManager org.mozilla.fenix.debug I org.mozilla.fenix.debug: notify(100, null, Notification(channel=mozac.... shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x200 color=0xff592acb groupKey=mozac.feature.downloads.group vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-08-06 10:41:39.771 1842-1842 NotificationManager org.mozilla.fenix.debug I org.mozilla.fenix.debug: notify(998369038, null, Notification(channel=mozac.... shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x8 color=0xff592acb category=err groupKey=mozac.feature.downloads.group actions=2 vis=PRIVATE semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-08-06 10:41:42.931 26397-26397 ViewRootIm...59368[App] org.mozilla.fenix I onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-08-06 10:41:42.931 1842-1842 ViewRootIm...e85b3[App] org.mozilla.fenix.debug I onDisplayChanged oldDisplayState=2 newDisplayState=2
| Assignee | ||
Updated•1 year ago
|
Assignee: nobody → giorga
Status: NEW → ASSIGNED
| Assignee | ||
Updated•1 year ago
|
Whiteboard: [fxdroid] [group4]
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Pushed by giorga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e4a2ce63fcbd
Clicking pause at 100% and then resume should not result in "Download failed". r=android-reviewers,npoon
| Assignee | ||
Updated•1 year ago
|
Flags: qe-verify+
Comment 5•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Updated•1 year ago
|
Comment 6•1 year ago
|
||
Verified as fixed in the latest Nightly 137.0a1 from 02/05 with Samsung GalaxyZ Fold 4 (Android 14). The download no longer fails after tapping the "Resume" button.
Comment 7•1 year ago
|
||
The patch landed in nightly and beta is affected.
:giorga, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox136towontfix.
For more information, please visit BugBot documentation.
Flags: needinfo?(giorga)
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(giorga)
| Reporter | ||
Updated•1 year ago
|
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 8•1 year ago
|
||
This is done in a separate commit so it doesn't get uplifted
Pushed by npoon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d5b8b77ae877
Don't make a client request when user clicks pause at 100% and then resume r=android-reviewers,rsainani
Comment 10•1 year ago
|
||
| bugherder | ||
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
| Reporter | ||
Updated•1 year ago
|
Flags: qe-verify+
Comment 11•1 year ago
|
||
Verified as fixed on the latest Firefox for Android Nightly 140.0a1 with a Google Pixel 6 (Android 16), and a Xiaomi Mi8 Lite (Android 10).
Pausing a download at 100% and resuming displays the "Download complete" snackbar.
Flags: qe-verify+
| Assignee | ||
Updated•11 months ago
|
Severity: S3 → S2
You need to log in
before you can comment on or make changes to this bug.
Description
•