On startup all previous tabs remain open
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?
In my Settings I have "Open previous windows and tabs" and "Continue where you left off" unchecked so that when I open Zen after I've closed all windows I start from a new tab with only pinned tabs remaining from my last session. When I click on Zen in the dock after I've closed all windows my tabs that I finished my last session with reload instead of starting from a blank slate.
Expected behavior
On startup I want Zen to open a new window and not resume where I left off
Actual behavior
All tabs from the last window I closed appear in the new browser window on startup
Steps to reproduce
- Uncheck "Open previous windows and tabs" and "Continue where you left off" settings in the "General" tab
- Close all browser windows
- Re-open Zen
Screenshots and videos
No response
Version
1.14.11b
What platform are you seeing the problem on?
macOS - aarch64
What component is this issue related to?
Tabs
Relevant log output if applicable
This same issue has been happening to me for the past few days, and has happened before as well. On Windows.
@Propheticus can you repro this?
@mr-cheffy I cannot. Disabling those settings only keeps the pins and essentials, as it should.
This is some kind of surrealism, people's tabs don't even get restored, but here they don't close. Are you from this universe?
Hi, @FramesLoaf. 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 Zen browser on macOS (aarch64) version 1.14.11b reopens all tabs from the last session despite disabling "Open previous windows and tabs" and "Continue where you left off."
- Another user confirmed the same issue on Windows, indicating it might affect multiple platforms.
- The maintainer could not reproduce the problem and noted that disabling those settings works correctly, only restoring pinned tabs.
- The behavior appears inconsistent across different users and platforms, with no clear resolution yet.
Next Steps:
- Please let me know if this issue still occurs with the latest version of the desktop repository by commenting here to keep the discussion open.
- If I don’t hear back within 10 days, I will automatically close this issue.
Thanks for your understanding and contribution!
@dosubot this is still an issue in the latest version
Are the tabs that open upon restart not pins? (when right clicking them, is there a menu item saying "unpin tab" or "pin tab"?) Cause regular pinned tabs (not essentials) in Zen look like a normal tab and not like a pin in Firefox. They're just in a separate (top) section of the sidebar.
(Tested again, still can't reproduce the issue. Only essentials and pins stick.)
These are unpinned tabs
And you quit the application? Asking because macOS does not quit apps only by closing all windows of an app. (so be sure to use cmd+q or ...menu > exit)
It only happens when the window is closed, when the application is quit and restarted it clears all tabs.
window sync isnt here yet, right now it just works how it works in literally any other browser, closing a window and opening a new one means you lose the tabs on the previous window
The issue raised here is the inverse: they don't expect the (normal) tabs restoring when opening a new window while they have the option to restore previous tabs disabled. There's an observed difference though:
- Closing all windows (not using cmd q or exit via menu) > open a new window > normal tabs are restored
- Quit the application via CMD+Q or ...menu>exit > open the application > normal tabs are not restored
I'm not sure whether the first one is as expected on a macOS device or not. I do know the 'mac way' is not to quit an application when closing all the windows belonging to it.
Does this still happen?
Hi, @FramesLoaf. 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 on macOS Zen browser (v1.14.11b), closing the last window reopens all unpinned tabs despite disabling session restore settings.
- The maintainer could not reproduce the issue and noted that fully quitting the app (Cmd+Q) clears tabs as expected, suggesting this may be standard macOS behavior.
- Another user confirmed similar behavior on Windows, indicating possible cross-platform inconsistency.
- The issue remains unresolved and open pending confirmation if it still occurs in the latest version.
Next Steps:
- Please let us know if this issue still occurs with the latest version of the desktop repository by commenting here to keep the discussion open.
- Otherwise, this issue will be automatically closed in 10 days.
Thank you for your understanding and contribution!
This still occurs in 1.21.4b. After recently installing zen 1.21.3b for the first time, on upgrade to 1.21.4b all tabs from prior session were restored even though they are configured NOT to be reopened in Startup settings:
Hopefully this gets moved from "Not planned" to scheduled.
@drankinatty
- Are you on a Mac?
- If yes: Did you fully quit Zen using CMD+Q / menu>exit?
Reason for asking is that closing all windows of an app on a Mac is not the same as closing that application. Opening a new window of an app (Zen) that was not quit is not a new session.
@Propheticus
No Mac, this is Linux, openSUSE Tumblweed. I do need to update my comment as I have now had 2 separate results. On the last shutdown/restart, Zen did properly respect the settings and opened only the pinned tabs, but not any of the tabs open on prior shutdown -- just as it should.
I'm swapping back and forth between zen and FF, I still have a bit of difficulty with the fly-out menus when working on code. My kate window sits to the left of the browser, so every time I move focus it triggers the menu fly-out -- but that's for another day.
There is no question I've experienced unexpected tab restoration from a prior session in zen, and it is also true that zen behaved just as it should on last restart. I'll keep an eye on the issue and report back in a few more days/week and update.
* Are you on a Mac? * If yes: Did you fully quit Zen using CMD+Q / menu>exit?Reason for asking is that closing all windows of an app on a Mac is not the same as closing that application. Opening a new window of an app (Zen) that was not quit is not a new session.
is there no way to have it such that a cmd+q is treated as closing the app / new session?