this post was submitted on 29 Aug 2023
31 points (94.3% liked)

Firefox

17906 readers
33 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

I swear I saw something like this here on Lemmy but I can't find it.

I know android manages the RAM very differently than any desktop OS as it frees up RAM in order to have it available for other processes being third party or core ones.

I remember I saw something that you could fiddle with within the Firefox config page.

Or is it not possible on Android?

I'm using Firefox Nightly, because I think it is the only version that has a working pull to refresh.

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

Cannot reply to your question but there are more firefox versions and forks that support pull to refresh:

  • Mull (If your device screen supports more than 60Hz this one may feel choppy, because Firefox's Resist Fingerprinting setting limits the refresh rate to 60Hz since v102)

  • Fennec

  • Firefox beta (Available on GPlay)

[–] [email protected] 5 points 1 year ago

Thank you for the heads up, I didn't see this when I tried FF beta, maybe I need to look again lol.

But honestly what is the difference between beta and nightly? Is nightly unstable for daily basis? Because I haven't found any bugs in the wild.

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Damn, I must have overlooked that because I have it installed and it is not working.

[–] [email protected] 5 points 1 year ago (2 children)

See this bug that's been open for very long. At the bottom someone has a solution that may work. https://bugzilla.mozilla.org/show_bug.cgi?id=1807364

[–] [email protected] 2 points 1 year ago

Using Beta 114, I confirmed that setting dom.ipc.processPrelaunch.lowmem_mb to 0 MB fixes this issue which seems to happen when there's a memory pressure in the system

[–] [email protected] 1 points 1 year ago

Actually this helped me to probably find where I even read about this bug lol.

Gonna test it out.

[–] [email protected] 5 points 1 year ago (1 children)

I’m using Firefox Nightly, because I think it is the only version that has a working pull to refresh.

Firefox Beta for Android has pull to refresh that works.

[–] [email protected] 2 points 1 year ago (1 children)

Really? Does it need to be activated? I tried it and it didn't work a few days ago.

[–] [email protected] 4 points 1 year ago (1 children)

Settings -> Customize.

I actually disabled it, but it does work.

[–] [email protected] 3 points 1 year ago

lol, definitely overlooked it then, thanks for the heads up!

Although I'm struggling to see the differences in all these FF clients.

[–] [email protected] 2 points 1 year ago (1 children)

You mean you want to avoid FF flushing your tabs?

Um, I don't know if stock FF has that, but in IceRaven there's an option for the exact opposite - to flush the content of tabs so that when the browser is minimised, Android is less likely to kill it outright. I assume it's just some config option being exposed as a menu item.

But note the meaning of the feature - if your tabs stay active, they take up resources and so it's more likely Android will kill the entire browser process.

IR also has pull to refresh btw, as do other forks.

[–] [email protected] 1 points 1 year ago (1 children)

You mean you want to avoid FF flushing your tabs?

Yeah well not permanently, as I recently moved from Chrome I think Chrome holds them on the RAM a longer time, so you can be multitasking within the browser and other apps.

I don't understand why IceRaven would do that, why kill the tabs to have a browser without content running in the background?

But if it is an option as you said, maaaaybe that is what I saw here on the wild 🤷🏻

[–] [email protected] 2 points 1 year ago

why kill the tabs to have a browser without content running in the background?

It doesn't kill the tabs, just removes their content from active memory.

If you have private tabs open and the fucking OS kills the browser, then those tabs are gone and you need to reopen them from scratch, log in again etc. With this option enabled, the browser can free up more memory so the OS is less likely to kill the browser.

Now, with some phone brands it might not matter as their background process culling is more aggressive, but with default Android there's a difference.

But it's just an option, idk if it's disabled by default. Maybe there's an extra config option for it somewhere.

Yea FF on Android does take up more memory than Chromium, maybe because Chromium can share more Android core things, idk. Either way, if you run out of memory, the browser will start flushing things regardless, so it doesn't crash.

Chromium also does a different thing where it still shows the unloaded website but in "preview" mode and you need to refresh it anyway, which I find even more annoying.