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

Restoring session on start, new ideas on restore options #1308

Open
devtweakr opened this issue Mar 31, 2024 · 0 comments
Open

Restoring session on start, new ideas on restore options #1308

devtweakr opened this issue Mar 31, 2024 · 0 comments

Comments

@devtweakr
Copy link

devtweakr commented Mar 31, 2024

In my case I have 8 chromium windows containing one tab each. When I set the settings to open startup session, first the browser opens the default 1 window and then the Tab-Session-Manager kicks in replacing the default opened window and opens all other windows. The position of first window restored by Tab-Session-Manager is now on position of default window, which is not correct.

I think on startup session should close the initial default window and then restore all session windows.

New ideas:

For getting chrome browsers to open exactly the way they were, I had a little workaround. Instead of closing the browser the normal way, I was just killing the chrome processes (pkill chrome) and when I restart the browser, it restored the session exactly where I left off.

(Note: in chrome settings start-up "Continue where you left off" must be selected).

This works with Chrome, Chromium, Brave, Vivaldi. To me it seems chrome based browsers have some kind of built-in session restore mechanism which seems to work flawlessly (in case the browser processes are forcefully killed).

There might be one more interesting option to explore... how chrome retains exact session info with tabs and windows positions in the background in case of crash, and restores it perfectly on start-up. Maybe it is possible to make an extension which could use this built-in mechanism for save and restore this perfect "session snapshot"

cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant