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
888 stars 76 forks source link

"discard other tabs in this window" discards tabs in other window too #311

Open megamorphg opened 1 year ago

megamorphg commented 1 year ago

Currently, on Firefox 105.0.1 and latest version of ATD 0.6.2, I noticed that tabs from other windows are being discarded when I do "discard other tabs in this window" action via the toolbar icon and by the keyboard shortcut.

No settings were changed after I updated to this version so not sure why this is happening all of a sudden.

megamorphg commented 1 year ago

Update: this is also happening when I do "Discard Tab Group" in Firefox (which should not be an eligible option since there aren't native tab groups in FF).

megamorphg commented 1 year ago

Interestingly, if I do Shift + click on "discard other tabs in this window" it works fine.

It is only the non-shift click variant that is having the issue with discarding tabs in other windows.

rNeomy commented 1 year ago

Unfortunately, I cannot reproduce this issue. Can you confirm on a clean profile? What is the OS?

megamorphg commented 1 year ago

This issue suddenly went away after updating Firefox to 105.0.3 from the immediately previous build... so maybe it was related to a bug due to it. Or even just restarting Firefox.

megamorphg commented 1 year ago

@rNeomy I just now noticed that this is occuring again after updating to 106.0.3 (64-bit) and I am on the latest 0.6.5 (from 12 days ago). I wonder if I have any other addons that would interfere and cause this but this occurs whether I trigger via keyboard shortcut or badge icon.

megamorphg commented 1 year ago

Gah... it started working correctly again. And I have no idea why. I didn't restart firefox, update any add-ons, or anything. It just started working fine after waking up my computer from sleep the next day. I don't have any settings that are unusual at all. Will leave this open until the next update I guess.