desktop icon indicating copy to clipboard operation
desktop copied to clipboard

New Window action always creates to default newtab page

Open eschre opened this issue 1 year ago • 11 comments

https://github.com/user-attachments/assets/5b9e49c6-699b-44f4-a289-529849cd35c8

Captchas

  • [x] I have read the instructions.
  • [x] I have searched existing issues and avoided creating duplicates.
  • [x] I am not filing an enhancement request.

What happened?

When opening any new window for Zen, it loads the newtab page, regardless of what type of new window action was performed.

  1. Tab Tear-out action creates a newtab page, and not the replication of the page.
  2. Right-Click on Link>Open Page in New Window opens newtab page instead of the link.
  3. Shift-Click on Link>Open Page in New Window opens newtab page instead of the link.

The issue does not happen in private mode, despite having the same Zen mods & extensions enabled. I tried turning off extensions as well and the issue persisted.

Edit: Fixed for me in 19.1.b

Reproducible?

  • [ ] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.9b

What platform are you seeing the problem on?

Windows

Relevant log output if applicable


eschre avatar Mar 09 '25 20:03 eschre

Same symptoms, including R-click > Move Tab > Move to New Window. However, you CAN drag a tab to an already existing window.

bennyty avatar Mar 10 '25 00:03 bennyty

Hi! also experiencing this since new update 1.9b

Using the Flatpak build

it happens when dragging an existing tab out of the window, when right clicking a link and "open in a new window" and when an extension tries to open a new tab on a new window.

the console (maybe relevant) output, with all extensions disabled:

Failed to register JSWindowActor: NotSupportedError: ChromeUtils.registerWindowActor: 'ZenThemeMarketplace' actor is already registered. [ZenActorsManager.mjs:15:15](chrome://browser/content/zen-components/ZenActorsManager.mjs)
Failed to register JSWindowActor: NotSupportedError: ChromeUtils.registerWindowActor: 'ZenGlance' actor is already registered. [ZenActorsManager.mjs:15:15](chrome://browser/content/zen-components/ZenActorsManager.mjs)
[ZenThemesImporter]: Loading enabled Zen themes: No Search Shortcut Icons, Floating Status Bar, Bottom Essentials, Better Unloaded Tabs, Only Close On Hover. [ZenThemesImporter.mjs:185:13](chrome://browser/content/zen-components/ZenThemesImporter.mjs)
Zen CKS: Initialized [ZenKeyboardShortcuts.mjs:972:15](chrome://browser/content/zen-components/ZenKeyboardShortcuts.mjs)
ZenThemeModifier: init browser layout [ZenStartup.mjs:14:17](chrome://browser/content/ZenStartup.mjs)
[ZenThemesImporter]: Sheet successfully registered [ZenThemesImporter.mjs:130:15](chrome://browser/content/zen-components/ZenThemesImporter.mjs)
ZenWorkspaces: ZenWorkspaces initialized [ZenWorkspaces.mjs:95:13](chrome://browser/content/zen-components/ZenWorkspaces.mjs)
NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIChannel.contentType] [Sniffer.sys.mjs:50](resource://devtools/client/jsonview/Sniffer.sys.mjs)
    getMIMETypeFromContent resource://devtools/client/jsonview/Sniffer.sys.mjs:50
HTTPS-Only Mode: No se actualiza la solicitud insegura “http://r10.o.lencr.org/” porque está excluida.
2
HTTPS-Only Mode: No se actualiza la solicitud insegura “http://detectportal.firefox.com/success.txt?ipv4” porque está excluida.

HTTPS-Only Mode: No se actualiza la solicitud insegura “http://detectportal.firefox.com/success.txt?ipv6” porque está excluida.

mardevour avatar Mar 10 '25 06:03 mardevour

"it happens when dragging an existing tab out of the window, when right clicking a link and "open in a new window" and when an extension tries to open a new tab on a new window."

The same here, with the same version 1.9b

ghz avatar Mar 10 '25 09:03 ghz

further details:

  • when dragging multiple tabs out from current window, the first one will disappear.
  • you can use ctrl+shift+T to restore the tab disappeared
  • cannot open pdf files in from file explorer when it will trigger a new zen window being opened

hukening81 avatar Mar 10 '25 11:03 hukening81

Same problem here - right clicking a link and choosing "Open link in new window" and the new window opens empty with the URL bar focused (or floating URL bar open), and no content in the window.

guss77 avatar Mar 10 '25 11:03 guss77

Also having this problem with the Flatpak version on Fedora 41. The blank window also has no "Back" history, it's just a blank slate.

pj398 avatar Mar 10 '25 12:03 pj398

Same issue here, am using it 1.9b on Arch.

rods012 avatar Mar 10 '25 14:03 rods012

I can report the same issue on macOS 12.7.6, Zen 1.9b.

davidmickelsen avatar Mar 12 '25 01:03 davidmickelsen

Even when creating new window from CLI, URL is ignored and default window opens. Example:

/opt/zen/zen-bin --new-window 'http://www.google.com'

This will not open Google. It open blank new window. This is contrary to what commandline help says.

OndKaj5e avatar Mar 12 '25 11:03 OndKaj5e

apparently this has been fixed on 1.9.1b, looks like it's working fine now

mardevour avatar Mar 13 '25 08:03 mardevour

Closing this issue as part of a repo cleanup

Due to technical-debt we had in the past, we are currently clearing out old, duplicate, stale, and non-actionable issues to improve issue tracking and make it easier to focus on fixing real bugs.

If this issue is still relevant, please open a new issue using our updated issue template, which will help us categorize and address it more efficiently.

Thanks for your understanding and for helping us improve the project! 🚀

This issue can be reopened at: https://github.com/zen-browser/desktop/issues/new?template=bug_report.yml&title=New%20Window%20action%20always%20creates%20to%20default%20newtab%20page%0A

zen-browser-auto avatar Mar 29 '25 15:03 zen-browser-auto