win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
2.47k stars 85 forks source link

all my open tabs are deleted :(( #905

Open tmac21 opened 2 months ago

tmac21 commented 2 months ago

Whenever I install the new version, all my open tabs are deleted. How do I prevent this? I didn't have such a problem in other browsers. I had saved the tabs before, I don't remember how, but this time they were all deleted and I'm angry.

XakerTwo commented 2 months ago

first - specify minimum info from template plus state of #disable-encryption and #disable-machine-id flags. i notice that, on certain scenario, #disable-machine-id may leads to reseting of Continue where you left off from On start-up category in the Settings.

Bypasses

use your history if your history still with you and last time browser was closed properly(not crash or force process end) you can try restore it from history context sub-menu, but note that is available only for last session and only until certain amount of closed tabs(once exceeded this option are gone). If you have a profile backup, you made before installing update - use them(instead of substitution) and this option should appear ![last-session](https://github.com/user-attachments/assets/720526e7-4b5b-4657-aee9-53f6fd336e7a)
try to substitute some files
before try MAKE A BACKUP FIRST. Backup of `%localAppData%\Supermium\User Data`
files to substitute located in `%localAppData%\Supermium\User Data\Default\Sessions`. There can be some numbers of `Session`, `Tabs` and `Apps` files. If you use browser profile - replace `Default` with `Profile 1` or something similar - ensure you have selected `Continue where you left off` in the `On start-up` category in the Settings - copy entire folder to somewhere else (skip all busy files) - close browser, rename or delete original folder(not copied one) - if `Apps` files exists - create new folder `Sessions` and copy all `Apps` files as-is to it - start and close browser again, so folder will be re-created, will contains files that browser definitely will use and you not need to guess which one - now, in the copy of the folder, you need to find the `Session` and `Tabs` pair, that you need: `Date modified` close to update time(but not later than), probably size is the largest one - once you found - copy(not move) them to original folder with same names as existing `Session` and `Tabs`, so that browser will try to load them.
tmac21 commented 2 months ago

The new versions reset everything and you can't get it back. I only managed to get it back once, I don't remember how I did it. Now everything is deleted again. I took a backup of the User Data folder, but there was no default folder in it, everything was there except that. I tried like this but it didn't work. The biggest problem with this browser is that it resets everything every time. I use other browsers too but it doesn't work like this. Do we need to tick the 'Make registry settings' section?

win32ss commented 2 months ago

The registry option in the installer refers to the uninstallation/set default browser registry keys.

The browser data itself in is the User Data folder and is created in any case, although it can be redirected to another folder using the --user-data-dir=X:\path\to\user\data switch. I'll have to see if there were any conditions that may have caused the deletion of the tab data that are not related to a change in the user data directory.