1. Open any website
  2. Switch to another app and do literally anything
  3. Go back to Firefox
  4. Tab reloads for ~5s and wipes all form data

Poco F3 6GB
MIUI 14.0.9
Fennec 121.1
Battery saver: No restrictions
“media.aboutwebrtc.auto_refresh” - False

I doubt ram is an issue as there is always at least 1.7GB free. This bug has been occuring or a long time. 3 years old reddit post about it

Can I fix it myself or should I wait for it to get patched? I dont know if this is appropriate place to post this, but I cant use github

  • Midnitte@beehaw.org
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    It might actually be an issue with the OEMs version of Android and it’s RAM management.

    Not sure if there’s a way to adjust it, but you could try using LineageOS?

      • Midnitte@beehaw.org
        link
        fedilink
        arrow-up
        2
        ·
        8 months ago

        Indeed, I do not experience it on my Samsung S22 Ultra, and I remember reading some article about how certain OEMs will change how Android manages RAM to try and improve the “experience” which results in weird behavior such as this.

    • critical@reddthat.com
      link
      fedilink
      arrow-up
      3
      ·
      8 months ago

      There is an event when the app is not in focus and they can save their data to avoid it being deleted or the webpage reloaded. Like a snapshot of the page.

    • robber@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      8 months ago

      I also experience this on LOS, but on an FP3 so RAM could be an issue on my end.

  • Evilcoleslaw@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    8 months ago

    IIRC MIUI has for quite a while been tuned very aggressively in terms of memory management. That is to say, it’s probably not the browser but the underlying OS that is pruning processes to keep memory free when it really doesn’t need to.

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    As far as I know it’s an issue with Firefox, always been like this.

    Unfortunately your best bet is using a different browser on android.

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    I also have a PoCo F3 on MIUI, FF sucks like you said, but the worst is that sometimes it drains battery. Even if I force close it, there is a background task eating the battery.

    For instance my phone is at 80% at 10PM, I go to bed, at 6AM it is at 40%, battery status says that 40% of the battery was taken by FF during the night.

  • Drinvictus@discuss.tchncs.de
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    8 months ago

    Firefox for Android straight up sucks. Sorry but it’s true. It’s heavy and slow with a bad ui. It basically has one and only one benefit. Add-ons. That’s it. It’s even worse on tablets. It’s basically the same app but bigger. I bet Android users make up most of Firefox mobile users but they can’t make a proper app.

      • Drinvictus@discuss.tchncs.de
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        8 months ago

        Hey it’s my first time interacting with a mastodon user on Lemmy. Wonders of the fediverse. If you live in the EU it’s about to get better because they won’t be held back by webkit anymore. Unfortunately only in the EU. So now they’ll have to make two apps for iOS.

        Edit: I forgot to add. Every web browser on iOS is basically just a skin on top of webkit because Apple doesn’t allow it.