desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Session restore almost completely disfunctional

Open yalpotuA opened this issue 1 year ago • 5 comments

Preliminary Checks

  • [x] I have read and understood the important section above.
  • [x] I have searched existing issues and avoided creating duplicates.
  • [x] I am not filing an enhancement request.
  • [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • [x] I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

I restarted Zen as normal for the 1.15b update. After experimenting a little with folders and I realized they are completely broken in my install, I restarted Zen again 7n hopes of fixing the issue. Suddenly all tabs that were not inside folders were gone.

Note: I had made use of tab groups before, and noticed that tab groups suddenly were unable to contain tabs. I don't know if that maybe affected it, but newly-opened tabs after disabling groups also disappear on restart and folders remain broken. When expanding the tab sidebar once, I can interact with folders as intended and tabs outside of folders correctly get saved, and session restore even works with the sidebar collapsed again.

Expected behavior

All tabs and windows should have been restored as usual with session restore enabled

Actual behavior

Only folders restored, no tabs outside of folders.

Steps to reproduce

  • Have a pre-1.15b session restorable and the tab sidebar collapsed.
  • Restore that session and put a few tabs inside a folder.
  • Ensure session restore is enabled.
  • Completely quit out of Zen.
  • Start Zen.
  • Observe that all tabs outside of folders are gone.

Screenshots and videos

No response

Version

1.15b

What platform are you seeing the problem on?

Linux (Tarball)

What component is this issue related to?

Tab Folders

Relevant log output if applicable


yalpotuA avatar Aug 27 '25 22:08 yalpotuA

Hi, @Lampe2020. I'm Dosu, and I'm helping the desktop team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that after updating to version 1.15b on Linux, session restore is nearly broken.
  • Only tabs inside folders are restored; tabs outside folders disappear on restart.
  • This happens even when the tab sidebar is collapsed and affects the Tab Folders component.
  • Session restore is enabled but does not preserve tabs outside folders.
  • There have been no comments or updates on this issue so far.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the desktop repository by commenting here.
  • If I don’t hear back within 10 days, this issue will be automatically closed.

Thanks for your understanding and contribution!

dosubot[bot] avatar Nov 26 '25 16:11 dosubot[bot]

I have personally stopped using tab folders, because they are force-pinned and thus essentially useless to me. But I am not sure this issue got fixed, because apart from five thumbsup reactions it got no visible attention whatsoever.

yalpotuA avatar Nov 27 '25 06:11 yalpotuA

any updates?

bulmust avatar Jan 03 '26 20:01 bulmust

@bulmust All I can say is I can't reproduce and tabs get restored in the latest version of Zen when the option to do so is enabled. There are some comments though

  • Tab groups are not supported, do not enable browser.tabs.groups.enabled
  • Sessions across windows work a bit odd in Firefox browsers, mainly dictated by the window that was closed last. Don't close a private browsing window last.
  • Similarly be aware of windows getting restored on different virtual desktops without you noticing. Opening a window/session on desktop 1 could also restore/open an empty window on desktop 2. When you now close Zen (or Firefox) the last window was empty, so that's the saved/restored state.
  • Enabling the option to clear all browsing&download history upon close also removes (normal) tabs from the restore history.

Long story short: check in the latest version + don't enable tab groups + be mindful of (hidden) empty/private windows.

Propheticus avatar Jan 04 '26 11:01 Propheticus

I can't reproduce

Have you used the same versions as I did? Because I think it's more of an issue with the conversion of the saved data to support folders, rather than an issue with session restore itself. And because I managed to edit the session files with mozlz4 and an online fast JSON editor (I don't have a local one and my text editors choked on the file size) to the point that they properly restored and that I still have my tabs, I think this issue can be closed. It was an upgrade bug, basically, to a now-ancient version.

yalpotuA avatar Jan 07 '26 10:01 yalpotuA