desktop icon indicating copy to clipboard operation
desktop copied to clipboard

All tabs are lost after each update

Open aoezdTchibo opened this issue 2 months ago • 32 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?

Everytime the Zen browser was updated and I get the typical "What's New in X" tab, I see that ALL my active Tabs are lost. Just gone. Like my research workspace with 20+ tabs open just gone, lost.

Expected behavior

All my active tabs should be open after a automatic update

Actual behavior

After an automatic update of the Zen browser, all my active tabs are lost

Steps to reproduce

I am not able to reproduce this behavior manually. This happens everytime the Zen browser was updated and reopened. So this was not the first time this happen.

Screenshots and videos

No response

Version

1.16.2b

What platform are you seeing the problem on?

macOS - aarch64

What component is this issue related to?

Tabs

Relevant log output if applicable


aoezdTchibo avatar Sep 30 '25 15:09 aoezdTchibo

Are there no relevant logs you could show us? (Ctrl+shift+J). How did you install zen? Are you sure that there aren't 2 windows opened? And lastly, do you have "restore previous session" enabled and "clear history when closing" disabled?

mr-cheffy avatar Sep 30 '25 17:09 mr-cheffy

Looking at my recently closed tabs (History -> Recently Closed Tabs) I only see those I myself explicitly closed, not those which where lost after the newest update. If I do SHIFT+CMD+T I can only come back to the starting point AFTER the update. Lost tabs are retraceable via the whole browser history but very exhausting since I do not remember the title of all my 20+ lost tabs. I do not have these kinds of problems If I manually close the window and restart Zen. Only solely after an auto update where Zen starts a new window with just one tab (What's new in X!) and my last session is simply gone. I will have to disable auto update for now.

"Clear history when Zen closes" is disabled but "restore previous session" I do not find in about:preferences.

I installed Zen many months ago via the dmg file on my Mac.

The console log is useless: Image

aoezdTchibo avatar Oct 01 '25 05:10 aoezdTchibo

If I manually update Zen, the tabs will not be deleted after restart... That is quite strange! Does it maybe have to do with the fact that the main issue is actually a MacOS update? Because my Zen Browser session was closed automatically within a nightly MacOS update and the Zen Browser restarted in the morning after I opened up my laptop. Is that maybe the main issue and not the Zen Browser auto update itself?

aoezdTchibo avatar Oct 01 '25 05:10 aoezdTchibo

I'm on Windows and this is the second time now that after an update most of the saved tabs and pins were just dropped. This is super annoying, can this be fixed? I'm on 1.16.2b (Firefox 143.0.1) (64-bit)

TomerGamerTV avatar Oct 01 '25 15:10 TomerGamerTV

I had a similar issue just now after update, lost all tabs and tab groups, was able to get tabs that weren't in groups back from steps on a reddit post, but I lost all groups

Edit more context): After update all tabs and groups were there but were moved to one workspace, while attempting, to move them back to their workspaces, zen crashed and all tabs and groups were then lost.

okilonet1 avatar Oct 04 '25 22:10 okilonet1

Zen doesn't support firefox tab groups, so its unexpected behavior whatever happens with them. Or are you talking about zen's folders?

mr-cheffy avatar Oct 05 '25 01:10 mr-cheffy

I have the same problem. I lost all the useful tabs after the update and I can't find and restore them quickly, it really upset me.

msmirnyagin avatar Oct 05 '25 07:10 msmirnyagin

I had a similar issue just now after update, lost all tabs and tab groups, was able to get tabs that weren't in groups back from steps on a reddit post, but I lost all groups

Edit more context): After update all tabs and groups were there but were moved to one workspace, while attempting, to move them back to their workspaces, zen crashed and all tabs and groups were then lost.

This also sometimes happens to me too, usually after a crash when I decide to restore the previous session.

TomerGamerTV avatar Oct 05 '25 08:10 TomerGamerTV

Zen doesn't support firefox tab groups, so its unexpected behavior whatever happens with them. Or are you talking about zen's folders?

Well I use the ATG mod for groups so maybe that's what caused it, although this is a first that I lost them, more recently the ui just breaks after an update and I have to reinstall remove sine and reinstall all sine mods again. And I don't lose anything.

okilonet1 avatar Oct 05 '25 09:10 okilonet1

same problem, each update destroy tabs, I'm afraid to update zen

DustGalaxy avatar Oct 07 '25 07:10 DustGalaxy

@DustGalaxy @TomerGamerTV @msmirnyagin where you guys using anything weird like sine, etc?

Could you please send videos showing how these tabs are lost?

mr-cheffy avatar Oct 07 '25 21:10 mr-cheffy

Never heard of sine so idk what you're talking about.

And it's pretty hard to record the video cause last update my tabs weren't deleted, it seems either random or after a crash that they get deleted...

My browser decides to update randomly so I can't prepare and record a video

TomerGamerTV avatar Oct 07 '25 21:10 TomerGamerTV

All tabs are lost or just normal tabs (excluding pinned)?

mr-cheffy avatar Oct 07 '25 21:10 mr-cheffy

just normal tabs, pinned sets to default

DustGalaxy avatar Oct 07 '25 21:10 DustGalaxy

All tabs are lost or just normal tabs (excluding pinned)?

Saved tabs and pinned (usually half of what I pinned)

TomerGamerTV avatar Oct 07 '25 21:10 TomerGamerTV

Also now after every close/open zen, it beaks like this:

Image just a empty window w/o anything, after reopen zen tabs also lost

and yes, i use sine

DustGalaxy avatar Oct 07 '25 21:10 DustGalaxy

macos, all tabs were deleted after the update, I did not record a video because I did not expect such behavior from zen.

msmirnyagin avatar Oct 08 '25 06:10 msmirnyagin

@DustGalaxy could you send logs? (ctrl+shift+J)

@msmirnyagin so it cant be reproduced consistently?

mr-cheffy avatar Oct 08 '25 09:10 mr-cheffy

@DustGalaxy could you send logs? (ctrl+shift+J)

Logs when window is empty:

Browser is executing custom scripts via autoconfig boot.sys.mjs:5:9 1759919641702 addons.xpi WARN Checking F:\zen_browser\distribution\extensions for addons [Nebula] ⏳ Initializing core... Nebula_Nebula.uc.js:24:26 Hi mom, I'm loaded! test.uc.js:1:9 [Nebula] ✅ [Polyfill] Detection active. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [TitlebarBackground] Tracking initialized. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [NavbarBackground] Tracking initialized. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [URLBarBackground] Tracking initialized. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [MediaCoverArt] Hooked into MediaPlayer. Nebula_Nebula.uc.js:24:26 Sine is active! sine.uc.mjs:28:9 All groups: 0 advanced-tab-groups_tab-folders.uc.js:209:13 Filtered groups: 0 advanced-tab-groups_tab-folders.uc.js:221:13 Setting up initial groups: 0 advanced-tab-groups_tab-folders.uc.js:156:13 Uncaught TypeError: can't access property "querySelector", this[#overflowContainer] is null connectedCallback chrome://browser/content/tabbrowser/tabgroup.js:135 insertBefore chrome://browser/content/tabbrowser/tabs.js:2005 appendChild chrome://browser/content/tabbrowser/tabs.js:1992 createTabsForSessionRestore chrome://browser/content/tabbrowser/tabbrowser.js:3843 ssi_restoreWindow resource:///modules/sessionstore/SessionStore.sys.mjs:5798 _restoreWindowsFeaturesAndTabs resource:///modules/sessionstore/SessionStore.sys.mjs:5999 _restoreWindowsInReversedZOrder resource:///modules/sessionstore/SessionStore.sys.mjs:6023 ssi_restoreWindows resource:///modules/sessionstore/SessionStore.sys.mjs:6099 2 tabgroup.js:135:7 [ZenMods]: Mods disabled by user or in safe mode. ZenMods.mjs:428:19 TypeError: can't access property "appendChild", this.querySelector(...) is null tabgroup.js:121:14 [Sine]: Rebuilding styles. manager.js:118:17 Key event not available on some keyboard layouts: key=“i” modifiers=“accel,shift,alt” id=“key_browserToolbox” 2 browser.xhtml Key event not available on some keyboard layouts: key=“c” modifiers=“accel,shift,alt” id=“zen-copy-url-markdown” browser.xhtml Key event not available on some keyboard layouts: key=“u” modifiers=“accel,alt” id=“zen-split-view-unsplit” browser.xhtml Key event not available on some keyboard layouts: key=“h” modifiers=“accel,alt” id=“zen-split-view-horizontal” browser.xhtml Key event not available on some keyboard layouts: key=“v” modifiers=“accel,alt” id=“zen-split-view-vertical” browser.xhtml Key event not available on some keyboard layouts: key=“g” modifiers=“accel,alt” id=“zen-split-view-grid” browser.xhtml Key event not available on some keyboard layouts: key=“q” modifiers=“accel,alt” id=“zen-workspace-backward” browser.xhtml Key event not available on some keyboard layouts: key=“e” modifiers=“accel,alt” id=“zen-workspace-forward” browser.xhtml Key event not available on some keyboard layouts: key=“t” modifiers=“accel,alt” id=“zen-compact-mode-show-toolbar” browser.xhtml Key event not available on some keyboard layouts: key=“s” modifiers=“accel,alt” id=“zen-compact-mode-show-sidebar” browser.xhtml Key event not available on some keyboard layouts: key=“c” modifiers=“accel,alt” id=“zen-compact-mode-toggle” browser.xhtml Key event not available on some keyboard layouts: key=“x” modifiers=“accel,alt” id=“viewGenaiChatSidebarKb” browser.xhtml Key event not available on some keyboard layouts: key=“z” modifiers=“accel,alt” id=“toggleSidebarKb” browser.xhtml [ZenGroups] Command event: command { target: key#key_browserConsole, isTrusted: true, ctrlKey: true, shiftKey: true, altKey: false, metaKey: false, button: 0, inputSource: 0, view: ChromeWindow chrome://browser/content/browser.xhtml, detail: 0, …

Logs after reopen:

Browser is executing custom scripts via autoconfig boot.sys.mjs:5:9 [Nebula] ⏳ Initializing core... Nebula_Nebula.uc.js:24:26 Hi mom, I'm loaded! test.uc.js:1:9 [Nebula] ✅ [Polyfill] Detection active. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [TitlebarBackground] Tracking initialized. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [NavbarBackground] Tracking initialized. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [URLBarBackground] Tracking initialized. Nebula_Nebula.uc.js:24:26 [Nebula] ✅ [MediaCoverArt] Hooked into MediaPlayer. Nebula_Nebula.uc.js:24:26 Sine is active! sine.uc.mjs:28:9 All groups: 0 advanced-tab-groups_tab-folders.uc.js:209:13 Filtered groups: 0 advanced-tab-groups_tab-folders.uc.js:221:13 Setting up initial groups: 0 advanced-tab-groups_tab-folders.uc.js:156:13 [ZenMods]: Mods disabled by user or in safe mode. ZenMods.mjs:428:19 [Sine]: Rebuilding styles. manager.js:118:17 All groups: 0 advanced-tab-groups_tab-folders.uc.js:209:13 Filtered groups: 0 advanced-tab-groups_tab-folders.uc.js:221:13 New group created: Object { id: "1759919661714-49", hasHeader: false, hasSplitView: false } advanced-tab-groups_tab-folders.uc.js:413:13 Attempting to setup group: 1759919661714-49 advanced-tab-groups_tab-folders.uc.js:316:13 Applying customizations to group: 1759919661714-49 advanced-tab-groups_tab-folders.uc.js:368:13 [TabFolders] Created group actions popup for group 1759919661714-49 advanced-tab-groups_tab-folders.uc.js:610:15 New group created: Object { id: "1759919661747-95", hasHeader: false, hasSplitView: false } advanced-tab-groups_tab-folders.uc.js:413:13 Attempting to setup group: 1759919661747-95 advanced-tab-groups_tab-folders.uc.js:316:13 Applying customizations to group: 1759919661747-95 advanced-tab-groups_tab-folders.uc.js:368:13 [TabFolders] Created group actions popup for group 1759919661747-95 advanced-tab-groups_tab-folders.uc.js:610:15 [ZenGroups] Command event: command { target: command#Browser:OpenLocation , isTrusted: true, ctrlKey: false, shiftKey: false, altKey: false, metaKey: false, button: 0, inputSource: 0, view: ChromeWindow chrome://browser/content/browser.xhtml, detail: 0, … } advanced-tab-groups_tab-folders.uc.js:1304:11 Failed to apply chrome CSS: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.loadSheet]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://userscripts/content/engine/utils/manager.js :: applyToChromeWindow :: line 109" data: no] manager.js:113:21 All groups: 2 advanced-tab-groups_tab-folders.uc.js:209:13 Group 1759919661714-49: Object { hasHeader: false, hasSplitView: false } advanced-tab-groups_tab-folders.uc.js:214:15 Group 1759919661747-95: Object { hasHeader: false, hasSplitView: false } advanced-tab-groups_tab-folders.uc.js:214:15 Filtered groups: 2 advanced-tab-groups_tab-folders.uc.js:221:13 Key event not available on some keyboard layouts: key=“i” modifiers=“accel,shift,alt” id=“key_browserToolbox” 2 browser.xhtml Key event not available on some keyboard layouts: key=“c” modifiers=“accel,shift,alt” id=“zen-copy-url-markdown” browser.xhtml Key event not available on some keyboard layouts: key=“u” modifiers=“accel,alt” id=“zen-split-view-unsplit” browser.xhtml Key event not available on some keyboard layouts: key=“h” modifiers=“accel,alt” id=“zen-split-view-horizontal” browser.xhtml Key event not available on some keyboard layouts: key=“v” modifiers=“accel,alt” id=“zen-split-view-vertical” browser.xhtml Key event not available on some keyboard layouts: key=“g” modifiers=“accel,alt” id=“zen-split-view-grid” browser.xhtml Key event not available on some keyboard layouts: key=“q” modifiers=“accel,alt” id=“zen-workspace-backward” browser.xhtml Key event not available on some keyboard layouts: key=“e” modifiers=“accel,alt” id=“zen-workspace-forward” browser.xhtml Key event not available on some keyboard layouts: key=“t” modifiers=“accel,alt” id=“zen-compact-mode-show-toolbar” browser.xhtml Key event not available on some keyboard layouts: key=“s” modifiers=“accel,alt” id=“zen-compact-mode-show-sidebar” browser.xhtml Key event not available on some keyboard layouts: key=“c” modifiers=“accel,alt” id=“zen-compact-mode-toggle” browser.xhtml Key event not available on some keyboard layouts: key=“x” modifiers=“accel,alt” id=“viewGenaiChatSidebarKb” browser.xhtml Key event not available on some keyboard layouts: key=“z” modifiers=“accel,alt” id=“toggleSidebarKb” browser.xhtml [ZenGroups] Command event: command { target: key#key_browserConsole , isTrusted: true, ctrlKey: true, shiftKey: true, altKey: false, metaKey: false, button: 0, inputSource: 0, view: ChromeWindow chrome://browser/content/browser.xhtml, detail: 0, … } advanced-tab-groups_tab-folders.uc.js:1304:11 can't access property "isAdoptingTab", this.window.gBrowserInit is undefined 2 ext-browser.js:1200:9 Error: An unexpected error occurred

DustGalaxy avatar Oct 08 '25 10:10 DustGalaxy

Right, could you try without any script injections, etc?

mr-cheffy avatar Oct 08 '25 10:10 mr-cheffy

w/o sine and mods?

DustGalaxy avatar Oct 08 '25 11:10 DustGalaxy

yes

mr-cheffy avatar Oct 08 '25 11:10 mr-cheffy

i remove sine and turn off mods and behavior doesn't change

Image

ctrl+shift+j ->

Image

DustGalaxy avatar Oct 18 '25 12:10 DustGalaxy

Dammit it just happened again after the recent update, only one tab was left pinned. Everything else is gone. (Updated manually this time from settings)

TomerGamerTV avatar Oct 21 '25 22:10 TomerGamerTV

This should be fixed once window sync is implemented properly

mr-cheffy avatar Oct 21 '25 23:10 mr-cheffy

This should be fixed once window sync is implemented properly

Also for some reason I can't "pin" pages now, and by pin i mean make them appear in all workspaces at the top

TomerGamerTV avatar Oct 21 '25 23:10 TomerGamerTV

every other update I lost all my tabs. Though before i could restore previous session, this time it was not worked at all as before (restored tabs from containers into first container). BUT, every RESTART (no any updates), i get empty window without any tabs again.

plandem avatar Oct 27 '25 12:10 plandem

@plandem do you have 2 windows openned?

mr-cheffy avatar Oct 27 '25 22:10 mr-cheffy

@plandem do you have 2 windows openned?

I do not have. It was the first thing that I checked :(

plandem avatar Oct 27 '25 22:10 plandem

So what I can now say is that if I manually update Zen, my tabs are not lost. I tried it today with the update to v1.17.3b and my active tabs where not lost.

aoezdTchibo avatar Oct 29 '25 06:10 aoezdTchibo