Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically open windows at startup #292

Open
erikrob opened this issue May 24, 2022 · 3 comments
Open

Automatically open windows at startup #292

erikrob opened this issue May 24, 2022 · 3 comments
Labels
enhancement window-management Position and size of the TF window or of Chrome windows

Comments

@erikrob
Copy link

erikrob commented May 24, 2022

I've been using TabFern for a while and loving it, but there is one thing that is painful : on browser startup I always go through my tree and re-open the same set of windows every time manually. I would love to have a feature that either :
1 - Restores the windows that were open when I closed the browser (and we cannot rely on the browser option to do so because those restored windows would be unnamed ones and I would therefore lose all tracking of my open tabs in the named windows)
2 - Takes a predefined list of windows and opens them up

I'm actually surprised to be the first one to suggest, not finding anything in the current issues... Are people getting around this via another means ?
Thanks

@cxw42 cxw42 added enhancement window-management Position and size of the TF window or of Chrome windows labels Jun 4, 2022
@andr222
Copy link

andr222 commented Apr 30, 2023

I rely on option 1, windows being automatically reopened. However the names are not kept, and many older versions of the windows are kept, as well as annotations often lost. (Which makes more that the simplist annotations rather pointless.)
What is needed is a means of keeping and restoring the open windows with their names and annotations.
Maybe periodic saving of the tag listes (along with annotations), as is common with text editors, for example.
In my case, automatic suspension of the computer is the main reason the navigator is closed, so automatic periodic saving of tag lists should work well.
The period should be configurable, to accommodate different suppension times.
Another approach would be an option (button) to save all tags and annotations (without closing the windows). (Maybe in the menu lower right ?)

@Darthfett
Copy link

I use the built-in session restoring functionality of Chrome, and unfortunately, it means that I basically end up with Saved Tabfern windows, as well as a duplicate "Unsaved" window.

Ideally I'd like my naming to be persistent.

@cxw42
Copy link
Owner

cxw42 commented Nov 25, 2024

The difficulty I've had is that, at least in the past, Chrome didn't have its own concept of a persistent window. TF currently makes up a unique ID for each window by hashing the URLs of the tabs in that window (ordered_url_hash).

Since I last touched this part of TF, Chrome has gained the sessions API, which might help. It would need some testing, since it's not clear to me from the documentation whether sessions are always-on or opt-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement window-management Position and size of the TF window or of Chrome windows
Projects
None yet
Development

No branches or pull requests

4 participants