zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
19.55k stars 478 forks source link

Tabs unloading with the feature disabled #3311

Open vicky5124 opened 2 hours ago

vicky5124 commented 2 hours ago

Captchas

What happened?

When Zen is out of focus (not necessary, but it increases the chances), tabs in deactivated workspaces unload even when the feature is completely disabled. Below there's a picture of all the relevant configuration entries that should disable unloading entirely, but they only prevent unloading on the active workspace, and keeps unloading tabs in the different workspaces, including pinned tabs that have an increased base weight. Unloading often happens in the same order displayed in about:unloads, but only following the secondary weight (for the most part; it appears to be quite random, but it does mostly follow this metric), which is what allows the pinned tabs to get unloaded, as it is ignoring the base weight that would prevent them from being unloaded. Furthermore, not all tabs in different workspaces get unloaded at once, as most often only a random choice of tabs (regardless of when they were last accessed) get unloaded, including pinned tabs (so, if there are 3 pinned tabs and 20 normal tabs in a workspace, having 1 pinned tab and 12 normal tabs getting unloaded is possible)

image

Reproducible?

Version

From at least 1.0.1-a.19 to 1.0.1-a.22, including latest twilight

What platform are you seeing the problem on?

Linux

Relevant log output

No response

dosubot[bot] commented 2 hours ago

I found a related discussion that might be helpful:

To continue talking to Dosu, mention @dosu.