Firefox on Xiaomi smartphones often tends to reload the page easily when returning from the background.
Categories
(Firefox for Android :: General, defect, P2)
Tracking
()
People
(Reporter: yjbrowserjyt, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid] [foundation] [qa-triaged]perf-android)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0
Steps to reproduce:
Visit any webpage, then minimize Firefox. After 1 second, open Firefox again.
Actual results:
webpage will be refreshed
Expected results:
I hope that, just like in a normal browser, the webpage does not get refreshed. This is not due to insufficient memory; I have 6GB of available memory. Regarding this issue, I tested using the Geckoview example on Android Studio and found that on Xiaomi phones, going to the background quickly triggers onkill.
I suspect it's related to the multi-process design, as Xiaomi devices may not be friendly with multiple processes. Is there a setting to make all tabs run in the main process, similar to WebView?
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:amejia, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•1 years ago
|
||
I was able to reproduce this issue with Xiaomi 12 Pro (Android 13) on the latest releases.
On my 13T Pro too. Even the usual trick to go to recent apps and activate that lock icon didn't make a difference.
Only when I went to app info and completely disabled battery saver mode it became usable.
And this is no surprise, there I also see CPU Total 1h 30m, CPU foreground 20m.
Somehow it wastes a lot of CPU, seemingly in the background.
Firefox Nightly.
Updated•1 year ago
|
Ok this is no longer true after the 1.0.6.0 HyperOS Android 14 update.
Even with disabled battery saver FF often reloads pages. I do have lots of open pages but most of them are in the inactive section.
Xiaomi devices are known to have an aggressive battery saver feature that affects other apps that the user has.
The solution that has the most benefits is to disable "MIUI optimizations" from developer options.
Description
•