auto-tab-discard icon indicating copy to clipboard operation
auto-tab-discard copied to clipboard

Bug: Whitelist is ignored

Open tandy-1000 opened this issue 2 years ago • 3 comments

My tabs are getting discarded even when they are pinned (setting not to do that in config), and even when the domain is whitelisted, or audio is playing.

tandy-1000 avatar Mar 23 '22 12:03 tandy-1000

I'm having the same problem:

image

Here my Github and Element pinned tabs are discarded.

This bug is relatively new, it didn't happen before.

I suspect that it was introduced with Firefox 93's automatic tab unloading (https://hacks.mozilla.org/2021/10/tab-unloading-in-firefox-93/). In the article it says:

Tabs playing sound, using picture-in-picture, pinned tabs, or tabs using WebRTC (which is used for video and audio conferencing sites) are weighted more heavily so they are less likely to be unloaded.

I suspect that it isn't auto-tab-discard that's unloading these tabs, but Firefox itself, and that ticking

[x] Do not discard a tab when it is pinned

in auto-tab-discard doesn't affect Firefox's own behaviour.

Is that possible?

nh2 avatar Mar 31 '22 17:03 nh2

I'm going to try the Firefox about:config option browser.tabs.unloadOnLowMemory, setting it to false, as mentioned in the comments of that blog post: https://hacks.mozilla.org/2021/10/tab-unloading-in-firefox-93/#comment-27226.

Let's see if that helps.

nh2 avatar Mar 31 '22 17:03 nh2

I think you are right, I noticed that too as I have disabled auto-tab-discard for now.

tandy-1000 avatar Apr 01 '22 06:04 tandy-1000