arifwn / TinySuspender

Unload idle tabs to reduce memory and cpu usage.
56 stars 11 forks source link

Does not work with Chrome "Tabs group" #20

Open xakraz opened 3 months ago

xakraz commented 3 months ago

Hi @arifwn !

First of all, I like your extension very much. Thanks you for it and making it open-source 🙏🏻 I enjoy the ability to control how and when tabs are suspended 😊

Unfortunately, it does not work when tabs are part of a "tab group". I have noticed that The Great Suspender and other similar tools have the same issue 🫤

Thanks for your support!

arifwn commented 3 months ago

I rarely use tabs group myself so I didn't notice this issue. As a tabs group user, can you tell me what's your expectation when running certain tinysuspender commands? E.g. would the "suspend all tabs" command only applies to current group instead of current window? Or should we leave them as it is and add another set of commands when the active tab is part of a group instead (e.g. "suspend all tabs in this group", etc)?

user334 commented 1 month ago

Just tested with Google Chrome Dev 131.0.6738.0. This extension now suspends all tabs when you select the corresponding button. Even if they are inside the group. I'd say that's the desired behaviour. However, adding an option to "suspend only this group" would be nice.

But there's a problem now: after restarting the browser with suspended tabs within groups, those tabs become un-suspended. Those that don't belong to groups remain suspended, as they should.