greatsuspender / thegreatsuspender

A chrome extension for suspending all tabs to free up memory
https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg/
GNU General Public License v2.0
5.03k stars 902 forks source link

With Chrome 79's new "tab freezing" and "back-forward caching" comes TGS issues #1081

Open DFNCTSC opened 4 years ago

DFNCTSC commented 4 years ago

@deanoemcke On most recent versions of Chrome and TGS, sometimes (more often than not), bringing a suspended tab into focus for the first time since the Chrome process is relaunched [after the tab was suspended previously] will indirectly restore the website suspended on the tab.

This happens a lot if all your tabs are suspended and you open a new tab, visit whatever website in that singular new tab, then close that tab and the closure of the new tab it causes the supposed-to-be suspended tab to be brought back into focus in which it reloads the suspended tab and I have to resuspend it.

Nothing too serious in functionality, just an annoyance brought on by the possible negation of TGS' main purpose [if Chrome is going to unload tabs dynamically now and this perhaps conflicts with TGS' operation].

CollinChaffin commented 4 years ago

I've been running Chrome DEV/Canary on multiple systems and have never once experienced this. What build TGS are you running, and you should take a look at what other extensions you have active, because nothing in new Chrome builds ever triggers an unsuspend.

Also, the very simplest answer is your settings are incorrect for your desired behavior. Did you by chance enable the "Automatically unsuspend tab when it is viewed" option which is by default disabled? If so - disable it because clearly you do NOT want restore active (viewed) tabs being unsuspended when Chrome restores them or you close a tab and another suspended tab comes into focus.