Switching to a tab in a second Zen Window shows "New Tab" and doesn't load the tab (shows a blank window)
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?
When I have two Zen windows open, and try to open a tab in a separate window, it sometimes renders as "New Tab" and doesn't load. This doesn't happen all the time - but seems to occur after using Zen for some time (e.g. 30 minutes). I have to close and re-open the Zen window to fix it.
Expected behavior
Clicking on an already open tab in another Zen window should load the tab
Actual behavior
Tab stays with the title "New Tab" and doesn't load.
Note: this happens on many different web pages - does not seem to be isolated to any individual site.
Steps to reproduce
- Open first Zen Window
- Open various tabs
- Open second Zen Window
- <keep using Zen, as this issue seems to happen over time>
- In the second Zen Window, select one of the tabs you had opened in the first Zen window
- See that the tab doesn't load, and stays named as "New Tab"
I have to close and re-open the Zen window to fix it.
Screenshots and videos
Version
1.19.5b
What platform are you seeing the problem on?
macOS - aarch64
What component is this issue related to?
Tabs
Relevant log output if applicable
Could you please show a video on how to reproduce this? Or at least open up logs via cmd+shift+J and send a screenshot?
Here is a video showing the issue.
https://github.com/user-attachments/assets/35efd7a3-41bf-4a6b-b6ec-d3fe3eb65e62
Could you please open the logs with ctrl+shift+J and show me a screenshot?
have found similar on MacOS. Zen duplicated a new window, and when clicking any tabs of the new window, as you try to load they convert to "New tab".
Hi, does this still happen?
Yes, I see this issue daily, frequently losing tabs I intended to revisit :( (Zen 1.19.12b (Firefox 150.0.2) (64-bit) on Windows 11)
Update 2026-05-18: Testing with 1.19.13b. So far, the issue did not resurface (fingers crossed)
Similar for me. When multiple windows open in full-screen mode on a Mac and one of the windows becomes unfocused (with another full-screen app visible instead), the tabs loaded in the unfocused Zen window are labelled 'New tab' when I switch to them in the other window, and they take a while to load. This lasts for a notable amount of time (usually 5–30 seconds). Sometimes it doesn't load at all. However, if I quickly refocus on the unfocused browser window, the 'New tab' immediately reverts to a normal tab.
Seems to be related to having zen open in 2 desktops?
This happens for me on linux ~50% of the time (1.20.1b).
I still get this behavior occasionally.
Workaround: Right-click the blank tab and select "Reset pinned tab"; this restores the tab reliably for me.
this still happens to me 100% of the time. And this on Windows with Version 1.20.1b. This frustrates me, because when you rely on this feature because you got used to it,
Could you please open the logs with ctrl+shift+J and show me a screenshot?
when opening a tab, that then turned into a "New Tab" there are no log lines there. For all Log lines, I currently have Zen to long open, to catch everything, and I am currently unable to close and reopen it
Seems to be related to having zen open in 2 desktops?
Nope, also happens with only two windows. And on all Platforms.
Could you please show videos on how to reproduce? Also, is it just for pinned tabs?
Somehow now the issue is not there. At least not that easy as yesterday. I continue to try to find a way to replicate it with the hopes, that it is not bound to having Zen open for too long. I will update if i have some news
Was able to consistently reproduce this, restarting my Zen instance seems to have fixed it for now. It tends to come back fairly consistently, I'll try and grab a video / logs next time it does.
This is on 1.20.1b (Firefox 151.0.2) (64-bit) on nixos Linux.
https://github.com/user-attachments/assets/21493744-be38-4a9a-ad6e-fbee16f3763e
Logs from CTRL+SHIFT+J
Browser Console Mode
Parent process only(Fast)
Multiprocess(Slower)
[Sls] Already connected, updating lock state from desktop app [background.js:100:137163](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📤 Sending <NmRequestAccounts> message to native core <3025424133> [background.js:100:18685](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📥 Received message <NmRequestAccounts> from native core <3025424133>. Duration: 11ms [background.js:100:14323](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[Sls] Already connected, updating lock state from desktop app [background.js:100:137163](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📤 Sending <NmRequestAccounts> message to native core <1146596559> [background.js:100:18685](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
Uncaught TypeError: can't access property "redirectOnlyInIncognito", options is undefined
redirect moz-extension://6a68a108-38e5-4cd6-b1ee-ee95c691aeb7/assets/javascripts/services.js:662
<anonymous> moz-extension://6a68a108-38e5-4cd6-b1ee-ee95c691aeb7/pages/background/background.js:62
[services.js:662:7](moz-extension://6a68a108-38e5-4cd6-b1ee-ee95c691aeb7/assets/javascripts/services.js)
TypeError: Property 'handleEvent' is not callable.
[Theme] 🧰 Configuring content script metadata: Using the light icon. [background.js:92:50417](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📥 Received message <NmRequestAccounts> from native core <1146596559>. Duration: 6ms [background.js:100:14323](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
TypeError: Property 'handleEvent' is not callable.
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. [news.ycombinator.com](https://news.ycombinator.com/)
[Theme] 🧰 Configuring content script metadata: Using the light icon. [background.js:92:50417](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
TypeError: Property 'handleEvent' is not callable. [content.js:89:443](moz-extension://fe01eaa1-3ed5-43c3-b4e4-a784fbc5d01b/content.js)
Uncaught TypeError: can't access property "redirectOnlyInIncognito", options is undefined
redirect moz-extension://6a68a108-38e5-4cd6-b1ee-ee95c691aeb7/assets/javascripts/services.js:662
<anonymous> moz-extension://6a68a108-38e5-4cd6-b1ee-ee95c691aeb7/pages/background/background.js:62
4 [services.js:662:7](moz-extension://6a68a108-38e5-4cd6-b1ee-ee95c691aeb7/assets/javascripts/services.js)
Attempt to set a remote URL moz-remote-image://?url=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyBoZWlnaHQ9IjE4IiB2aWV3Qm94PSI0IDQgMTg4IDE4OCIgd2lkdGg9IjE4IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im00IDRoMTg4djE4OGgtMTg4eiIgZmlsbD0iI2Y2MCIvPjxwYXRoIGQ9Im03My4yNTIxNzU2IDQ1LjAxIDIyLjc0NzgyNDQgNDcuMzkxMzAwODMgMjIuNzQ3ODI0NC00Ny4zOTEzMDA4M2gxOS41NjU2OTYzMWwtMzQuMzIzNTIwNzEgNjQuNDg2NjE0Njh2NDEuNDkzMzg1MzJoLTE1Ljk4di00MS40OTMzODUzMmwtMzQuMzIzNTIwNzEtNjQuNDg2NjE0Njh6IiBmaWxsPSIjZmZmIi8%2BPC9zdmc%2B&colorScheme=dark&contentParentId=43&width=16&height=16 as a tab icon without a loading principal. [tabbrowser.js:1402:17](chrome://browser/content/tabbrowser/tabbrowser.js)
[Theme] 🧰 Configuring content script metadata: Using the light icon. [background.js:92:50417](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[byob/bg] BYOB_CHECK_MANAGED tabId=42 openerTabId=undefined tabUrl=https://news.ycombinator.com/ claimedFrom=none pending=[] managed=[] [background.js:1046:15](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/background.js)
[byob] tryActivate attempt=0 host=news.ycombinator.com response=
Object { managed: false }
[content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
news.ycombinator.com [background.js:1:1118](moz-extension://7bcf044b-2af1-472a-a915-63a13130ae64/scripts/background.js)
try 0: ycombinator.com [background.js:1:1348](moz-extension://7bcf044b-2af1-472a-a915-63a13130ae64/scripts/background.js)
XrayWrapper denied access to property Symbol.iterator (reason: object is not safely Xrayable). See https://developer.mozilla.org/en-US/docs/Xray_vision for more information. Note that only the first denied property access from a given global object will be reported. [content.js:1:2475858](moz-extension://6f869e4a-aaf0-47b5-bb5b-f9711d8c1419/content.js)
[byob/bg] BYOB_CHECK_MANAGED tabId=42 openerTabId=undefined tabUrl=https://news.ycombinator.com/ claimedFrom=none pending=[] managed=[] [background.js:1046:15](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/background.js)
[byob] tryActivate attempt=1 host=news.ycombinator.com response=
Object { managed: false }
[content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
[byob/bg] BYOB_CHECK_MANAGED tabId=42 openerTabId=undefined tabUrl=https://news.ycombinator.com/ claimedFrom=none pending=[] managed=[] [background.js:1046:15](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/background.js)
[byob] tryActivate attempt=2 host=news.ycombinator.com response=
Object { managed: false }
[content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
[Sls] Already connected, updating lock state from desktop app [background.js:100:137163](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📤 Sending <NmRequestAccounts> message to native core <3444597344> [background.js:100:18685](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
TypeError: Property 'handleEvent' is not callable.
[Sls] Already connected, updating lock state from desktop app [background.js:100:137163](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] An unlock request is already in flight; reusing the existing one. [background.js:100:45275](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[Theme] 🧰 Configuring content script metadata: Using the light icon. [background.js:92:50417](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📥 Received message <NmRequestAccounts> from native core <3444597344>. Duration: 80ms [background.js:100:14323](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[byob/bg] BYOB_CHECK_MANAGED tabId=42 openerTabId=undefined tabUrl=https://news.ycombinator.com/ claimedFrom=none pending=[] managed=[] [background.js:1046:15](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/background.js)
[byob] tryActivate attempt=3 host=news.ycombinator.com response=
Object { managed: false }
[content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
[byob/bg] BYOB_CHECK_MANAGED tabId=42 openerTabId=undefined tabUrl=https://news.ycombinator.com/ claimedFrom=none pending=[] managed=[] [background.js:1046:15](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/background.js)
[byob] tryActivate attempt=4 host=news.ycombinator.com response=
Object { managed: false }
[content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
[byob/bg] BYOB_CHECK_MANAGED tabId=42 openerTabId=undefined tabUrl=https://news.ycombinator.com/ claimedFrom=none pending=[] managed=[] [background.js:1046:15](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/background.js)
[byob] tryActivate attempt=5 host=news.ycombinator.com response=
Object { managed: false }
[content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
[AppIntegration] 📤 Sending <NmLockState> message to native core <2390867623> [background.js:100:18685](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📥 Received message <NmLockState> from native core <2390867623>. Duration: 2ms [background.js:100:14323](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[byob] tryActivate giving up — BG never returned managed=true (host=news.ycombinator.com) [content.js:176:13](moz-extension://a7f7a25b-7d62-42d4-8564-3e531e3f46c2/content.js)
[AppIntegration] 📤 Sending <NmLockState> message to native core <2474167871> [background.js:100:18685](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)
[AppIntegration] 📥 Received message <NmLockState> from native core <2474167871>. Duration: 2ms [background.js:100:14323](moz-extension://d21e8403-659c-421e-940a-f02fa9d2e159/background/background.js)```
</details>
ah, I found a 100% reproducible route -- it works consistently for the FIRST additional window created. In this video, you can see that Zen is restoring my previous session and launching two windows. When it does so, they both work as expected. If I close one of those windows and open a new one, it breaks. If I restart Zen, and only ever have two windows, it functions as expected.
https://github.com/user-attachments/assets/c6904a72-a004-4a5d-81e6-91138744520e
Interestingly, the tabs are still "linked" in that, if I close the tab in one window, it closes in both. Same for ctrl-shift-t to reopen the tab...
I can say, when i do the same steps on my windows system, it also breaks then.
@joegoldin could you please open up ctrl+shift+J and show a screenshot right after reproducing the issue?
@joegoldin could you please open up ctrl+shift+J and show a screenshot right after reproducing the issue?
I've got a WIP fix I'm testing locally too, will PR if it works