All tabs are lost after each update
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
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?
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:
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?
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)
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.
Zen doesn't support firefox tab groups, so its unexpected behavior whatever happens with them. Or are you talking about zen's folders?
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.
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.
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.
same problem, each update destroy tabs, I'm afraid to update zen
@DustGalaxy @TomerGamerTV @msmirnyagin where you guys using anything weird like sine, etc?
Could you please send videos showing how these tabs are lost?
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
All tabs are lost or just normal tabs (excluding pinned)?
just normal tabs, pinned sets to default
All tabs are lost or just normal tabs (excluding pinned)?
Saved tabs and pinned (usually half of what I pinned)
Also now after every close/open zen, it beaks like this:
and yes, i use sine
macos, all tabs were deleted after the update, I did not record a video because I did not expect such behavior from zen.
@DustGalaxy could you send logs? (ctrl+shift+J)
@msmirnyagin so it cant be reproduced consistently?
@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
Right, could you try without any script injections, etc?
w/o sine and mods?
yes
i remove sine and turn off mods and behavior doesn't change
ctrl+shift+j ->
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)
This should be fixed once window sync is implemented properly
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
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 do you have 2 windows openned?
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.