sienori / Tab-Session-Manager

WebExtensions for restoring and saving window / tab states
https://tab-session-manager.sienori.com/
Mozilla Public License 2.0
1.92k stars 190 forks source link

Tab Session Manager auto-save stopped working on Google Chrome on Windows #1404

Open echawkes opened 1 month ago

echawkes commented 1 month ago

Short description

I've been using Tab Session Manager to auto-save my tabs for years. Recently, it stopped working.

Steps to reproduce

  1. Start browser with clean profile
  2. Install Tab Session Manager

Expected result

Actual result

I recently enabled Debug logging on the settings page. Where can I find the log?

I spent some time trying to follow the directions in https://github.com/sienori/Tab-Session-Manager/wiki/Q&A-How-to-use-debug-mode but Chrome seems to have changed their UI.

I eventually found something that looks like an error, so I took a screenshot

TabSessionManager Screenshot 2024-10-13 154419

I got the screenshot from the console pane on chrome-extension://iaiomicjabeggjcfkbimgmglanimpnae/options/index.html#settings

Platform information

Dell XPS-8940
11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz 3.50 GHz 32.0 GB (31.6 GB usable) 64-bit operating system, x64-based processor

Windows 10 Pro 22H2 7/‎9/‎2021 19045.5011 Windows Feature Experience Pack 1000.19060.1000.0

Google Chrome Version 129.0.6668.101 (Official Build) (64-bit)

Tab Session Manager Version 7.0.1 Backers

Additional context

On October 6 or 7, Dell sent me a message about needing to update my BIOS, so I went to the Dell Virtual Assist page, and updated the BIOS and all my drivers. Then, I rebooted, which caused Chrome to update to the latest version. My problems started soon after that.

The last session that was regularly auto-saved was 2024-10-07 19.17.26 which is almost 7 days ago. I have it set to save every 15 minutes. Looking at the list of sessions saved, that seemed to work well right up until Oct 7, but it doesn't any more.
I have 630 sessions saved. I have it configured to keep the last 1000 sessions.

I was able to manually save a session using the tab session manager page in the browser - at the bottom of the page where my sessions are displayed. That still works. Also, I can still restore from old sessions.

imtrobin commented 1 month ago

Same here, on Edge and Maxthon

WillPresley commented 1 month ago

Just wanted to chime in that this also is happening to me on Chrome/Windows. My sessions were auto-saving up until Oct 16th sometime.

PRGeno commented 1 month ago

"Save the session when exiting browser" stopped working recently on Firefox (currently on 131.0.3)

NeloBlivion commented 1 week ago

This happens because, for some reason, it's possible for the extension to save null as a session, completely breaking the extension. Steps to fix:

  1. Export All Sessions
  2. Open in a text editor and look for a null entry - delete it image
  3. Delete all sessions on the extension, then import your updated file

IF EXPORT IS NOT WORKING (if you have too many saved sessions, browser seems to block it?)

  1. Open devtools (F12) on the export page and navigate to Console
  2. Click export, you'll probably see something like this image
  3. Right click the list and hit Copy Object image This is identical to an exported JSON, so you copy it into a text editor and do the same steps as above to remove the null entry.
elig0n commented 1 week ago

I'm using Firefox and both regular & browser exit auto saves stopped working on 24th of October.

This happens because, for some reason, it's possible for the extension to save null as a session, completely breaking the extension.

I did not spot nulls in my exported sessions JSON file. I also spotted no debugging errors whatsoever when exporting or importing my 300+ sessions.

Eventually I backed up everything, reinstalled the add-on and reloaded all the backups and then all auto-save functionality resumed working.