Download notification dissappear when closing Firefox in recents tabs
Categories
(Firefox for Android :: Downloads, defect, P3)
Tracking
()
People
(Reporter: luisrleccar, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [qa-triaged])
Attachments
(1 file)
|
6.68 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Linux; Android 13; M1908C3JGG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Steps to reproduce:
Download anything and in the download process close the application of recent applications.
Device: Xiaomi Redmi Note 8 2021 (biloba)
Android Version: 13 (MIUI 14)
Actual results:
The download notification disappears, not sure if the download continues in the background.
Expected results:
The download notification must remain visible as in other browsers
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:mavduevskiy, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•2 years ago
|
||
We should check if this is a Xiaomi-specific issue. If so, probably missing some background permissions that the user has not granted.
Comment 3•2 years ago
|
||
Reducing it is severity as downloading something and killing the app looks like an edge case that isn't affecting a lot of users.
FYI if we want to revisit it someday:
The bug is reproducible on all android versions. We are using DownloadManager for handling downloads in Fenix, and its implementation is causing the issue. When we enqueue a request to download something, it creates a notification for our app and manages its state. But on the OS level the notification is bound to the app process, not the manager's. So when app gets killed, the OS clears notification as well. At that point DownloadManager continues the downloading process, but doesn't have a notification to post updates to.
The way to fix that would be to implement our own ForegroundService that would handle the download process and notification state. Killing the app won't affect its lifecycle.
Comment 4•1 year ago
|
||
Reproducible on all latest builds of Firefox for Android: 126.0, Beta 127.0b6, and Nightly 128.0a1 from 5/27.
Tested with Google Pixel 6 (Android 14).
Description
•