Open harl opened 3 years ago
That's weird! The extension is supposed to find the closest not discarded tab! What is your browser?
On Firefox for Mac, I am not able to reproduce this. For me, the extension finds the first tab on the left side which is not discarded.
In that case, I have no idea why this is happening and I'm sorry if this isn't Auto Tab Discard's fault at all.
For me, when I discard one tab, it doesn't respect the discarded status of other tabs at all, so it mostly un-discards the tab left to the tab I just discarded, sometimes even another tab that's not the left one, instead of selecting one of the other tabs that are actually fully loaded (not discarded, not unloaded, not pinned or anything).
I use pinned tabs a lot and my expectation is that my tabs should always be activated in the order they were used/active. Pretty much the way Ctrl+Tab works, except Ctrl+Tab doesn't respect the discarded status of tabs either, but it doesn't pull discarded tabs that haven't even been used that session, contrary to what happens when I manually discard tabs.
I went through my (rather straightforward) list of add-ons I usually use and found that none of them should be interfering with the selection/activation / opening/loading of tabs when a tab is being closed/unloaded/discarded.
Maybe there's some Firefox variable, that I've been overlooking, that sabotages all my efforts, I don't know.
(When I find the time, I'll try to get this to work properly with a clean FF profile, so as to find out where the actual issue lies from a more blank canvas so to speak.)
(Firefox 88.0.1 on Windows 10)
When the current tab is discarded, Auto Tab Discard consistently activates tabs that I don't expect to be activated, most often tabs that are discarded, while at the same time there are other tabs that are loaded (not discarded) and have also been active / selected more recently. The logic behind this eludes me - I'm not sure sure if this is Firefox's default behaviour, but I find it very counter-intuitive.
I'd really like the last active tab to be selected, but not if it's been discarded. If there's no "last active" tab, avoid loading pinned tabs one after another and making it hard to get back to the tabs that I was working with, namely those that were the last active before they were discarded, but not if there are other non-pinned, but loaded tabs, for example because I opened them in the background, or because they are whitelisted. If neither of these exists, load the parent tab or the left tab, but not if all tabs are discarded, in which case just let me know that all other tabs are already discarded and do nothing else.
Is there a way to make Auto Tab Discard NOT select a specific tab when it discards the current tab and instead let Firefox (or another add-on that I may be using for that matter respectively) do this ?