rNeomy / auto-tab-discard

Use native tab discarding method to automatically reduce memory usage of inactive tabs
https://webextension.org/listing/tab-discard.html
Mozilla Public License 2.0
906 stars 79 forks source link

"Discard newly opened tabs" feature buggy #241

Closed tirphana closed 2 years ago

tirphana commented 3 years ago

As per title, I’m having problems with this feature. Especially if I try opening multiple tabs with "Load Background Tabs Lazily" addon (which I find reasonable these 2 addons should support each other), only the first 2, 3 or 4 tabs (not sure what it depends on) are discarded and the rest load fully. One strange thing I noticed is that the first couple of discarded tabs for some reason have additional "zzz" favicons appended (the number of which again appears to be random).

Running the option alone, with no addons also seemed to be buggy when opening more than ~75 tabs, in that it would sometimes swallow some tabs (as far as I tested, the more tabs I opened, the more of them misteriously disappeared).

I would appreciate if this issue is looked into, since it’s really important for loading a lot of tabs (loading a bookmark folder, for example).

tirphana commented 3 years ago

Also, the "Discard newly opened tabs" option cannot be turned off without restarting the browser session.

rNeomy commented 2 years ago

Thanks for the report. It should be fixed by the next release.

Also, the "Discard newly opened tabs" option cannot be turned off without restarting the browser session.

I am not able to reproduce this though.

tirphana commented 2 years ago

I am not able to reproduce this though.

Forgot to update here, but I figured out some days after posting that just restarting the addon turns it off, haven't really tested it since. Also, big thanks for looking into the issues I posted. :)