-
Notifications
You must be signed in to change notification settings - Fork 96
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
lost my group after unexpect shutdown #210
Comments
I seem to have the same problem. I'm not 100% sure if it was because a crash, since I just noticed today that all my groups are gone (besides the one which was activated), and the last system freeze I had is 2 days ago. Anyway, it also tells me "Found hidden unsynchronized tabs. Click on tab to show it into current group/window or:" |
Sorry guys but I can not protect the data from the fall of the browser or computer. For normal operation of the browser, it must be rebooted at least once a day, and give it the option to completely turn off and then time to fully load the browser and tabs that are loaded. From everything I can not protect. I can only advise you to make backup copies. |
What makes STG lose all its config on an unclean shutdown, but other addons like Greasemonkey and uBlock Origin retain them just fine? Is it the storage format? What storage does STG use? And surely STG should be able to data loss, and automatically restore from latest backup if it exists? |
Because STG uses much more data than other plugins. Depends on the number of tabs and groups.
I use the same as other addons:
firefox webextensions do not allow automatic recovery of such amount of data (tabs and groups) You can find backups in the browser download folder and restore them manually. Not everything is possible to make "automatic" |
Brief (a RSS reader) seems to retain ~82 MiB storage through crashes just fine, compared to STG of only ~3 MiB (if storage/default are where the data is stored):
( It seems like the bulk of STG's data is inside a directory with But maybe it might be worth investigating why exactly STG ends up wiping the data while Brief can keep it on crashes. |
It's not just that. Data is saved every 500 ms after the change, and no more simple-tab-groups/addon/src/background.js Lines 35 to 52 in cfa1870
In Firefox 66, the data has been moved to IndexedDB, and there are problems with this too. When I tested the browser crash, when I started it, I suggested to restore the session, and I made code that in this case waits for the session to be restored before loading the plugin: simple-tab-groups/addon/src/background.js Lines 2890 to 2892 in cfa1870
simple-tab-groups/addon/src/background.js Lines 2928 to 2959 in cfa1870
And no data while the browser is not lost. Addon can not be held responsible for system failure. |
Describe the bug
hi
I lost groups after my pc turn off suddenly (power outage)
STG say you have tabs that are not synced. I restore them but my groups and settings restart.
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: