Unbox icon indicating copy to clipboard operation
Unbox copied to clipboard

Temporarily toggle hide-vs-close using a modifier key

Open 3xMUSIC opened this issue 6 years ago • 4 comments
trafficstars

Hi Josh,

Sorry I was unclear asking that on a Firefox addons page.

As of now, we have two options when clicking the stash button - to close (or hide as set in prefs) the tab or to keep tab open (using ALT) after stashing. The "close or hide" behavior is set in the preferences. There's no way to temporarily override that setting, using let's say CMD key with the click. That'd be nice actually.

i.e

click - close (or hide, as set in prefs) the tab alt-click - leave the tab opened ctrl-click - hide (or close, as set in prefs) the tab

Regards, Andrei

3xMUSIC avatar Jul 20 '19 15:07 3xMUSIC

Ah got it, thanks for clarifying! So you want a way to temporarily switch the hide-vs.-close behavior by holding the ctrl/cmd key.

If you feel comfortable sharing, is there any particular reason you would want to switch back and forth between hiding vs. closing tabs when stashing them?

The reason I ask is, if the concern is memory/resource usage, Tab Stash will automatically unload tabs that haven't been used in a while, so you should be able to always hide tabs without having to worry.

josh-berry avatar Jul 21 '19 03:07 josh-berry

Hi Josh,

So you want a way to temporarily switch the hide-vs.-close behavior by holding the ctrl/cmd key.

Correct. That's a much shorter and nicer explanation ) Sorry, my clumsy English...

is there any particular reason you would want to switch back and forth between hiding vs. closing tabs when stashing them?

Well, as a user I have a lot of windows and tabs opened most the times. I keep them as a reminders (for lack of a better term), which is obviously a bad habit and a heavy memory print. I'd rarely use hide, instead I'd close the tab and keep it in Tab Stash, so to minimize the memory usage. Only sometimes when I care about having a browsing history and forms data available to restore, I'd want the tab to be hidden instead.

Regards, Andrei

3xMUSIC avatar Jul 21 '19 15:07 3xMUSIC

Hi Josh,

Thank you for your amazing work. I would like to second this proposal.

For a standalone webpage that I would check back later, I want it closed when stashed. For anything consecutive, like reading a novel from a series of webpages or going through a internet forum, I want the "Go back" or "Go forward" maintained i.e., I want it hidden when stashed.

The reason why I can't completely rely on hidden tabs is that my Firefox can't load a session with too much tabs due to unknown reason. It seems the unloading of hidden stash won't help me in this situation

Regards, xerubium

P.S. I've thought about a workaround that to manually move the bookmark in "Tab Stash" out to another folder for those pages I want it closed when stashed and later I directly open them from the bookmark. But I don't know how this would interact with the Tab Stash database, so I still dare not to take action.

xerubium avatar Aug 03 '22 15:08 xerubium

Hi @xerubium,

If it helps, you are free to move bookmarks into and out of the "Tab Stash" folder however you like. Tab Stash will track the movements and automatically close any hidden tabs for URLs which used to be in the stash, but were deleted or moved out. (Note that it may take a moment for Tab Stash to realize you have done this, but it should usually react pretty quickly.)

Another thing you might find helpful: If you Alt+Click (or Option+Click on Mac) the 🅇 icon in the Tab Stash UI, it will close (not just unload) all hidden tabs. So you could use this as part of a workaround where you temporarily un-stash the tabs you want to keep, close all the hidden tabs you don't want, then re-stash the tabs you want to keep as hidden.

I know these are both workarounds, but I hope they help!

— Josh

josh-berry avatar Aug 06 '22 17:08 josh-berry