Open new tabs rather than new windows in Brave?
In the past, when I used Epichrome with Chrome as the browser, when I created an app from drive.google.com, each opened document would open in a new tab.
With Brave as the browser, each opened document opens in a new window.
I'm unsure if this is due to Epichrome changes or Brave behavior, though in Brave I find no browser settings regarding preferring new tabs to new windows.
Does anyone have any insight? I'm returning to using Chrome as a fix for now, but would love to start using Brave.
Edit: This discussion suggests that Brave used to have the ability to open new tabs instead of windows, but no longer, sadly. What a bizarre limitation for a modern browser!
I'm not able to replicate this myself. When I use a Brave-based app (or Brave itself) and go to my Google Drive, if I double-click a document to open it, it opens in a new tab, not a new window.
If your Google Drive app uses an app-style window, that type of window is not able to open new tabs, so a document opened from there will open in a separate window. But then if I go back to the main app window and open another document from there, it will open as another tab in the same window as the first document, which is the expected behavior (it works the same way on Chrome).
If you're seeing something different from this, can you describe what's happening to me in a bit more detail? Thanks!
I have the same issue using the Chrome engine but only if the app isn't started. Clicking on a link that opens in a specific app (using Choosy) it will open the app and the link i clicked in a neew window. Furthermore that window will shortly appear in the focus, then the main window with all the opend tabs will get the focus. I have the app configured to have the browser behavior (not the app one) with no specific tabs (chrome setting: open last opened tabs.
I definitely had the behavior i’d expected (open the link in a new tab) some time in the period i updated all my apps to 2.3 but i can’t remember more details on when it happened.
Hi @talleux, yeah that is the expected behavior. When you send a link to an unopened Epichrome app, it's basically launching the app and signaling it to open whatever URL you are sending. Since the app will always open its main app window, or preconfigured tabs, or in your case whatever tabs were open on last launch, the new link will either get opened in a separate window or in another tab of the main window. Which opens first is not choosable, and just depends on the timing of when the app processes the open event. You'll see the same behavior if you try to send a link to an unopened Chrome or Brave browser.
Very similar question: How can I make my Epichrome app open links in a new tab in an open browser window?
I just built an app for Gmail using the Chrome engine. When I follow a link in an email, it opens in a new chrome window rather than a new tab in an existing window. I built a similar app using the Brave engine, and the behavior is similar. This is different from other apps on my Mac, which open links in a new tab in my existing Chrome window.
(Mac OS 10.15.5 with Chrome as my default browser)
Hi @bjornhansell, does the Gmail app you built have an app-style main window, or does it open Gmail in a regular browser tab? If the latter, then any other URLs you send to that app should open in new tabs in that window. If you created it to be app-style then new URLs will open in a new browser-style window (unless you've already opened such a window and it's the front-most window when the URL is sent). This is because app-style windows can't have more tabs.
Does that answer your question? If not, then I might need more description (or maybe a screen-recording) of what you're talking about. Thanks!
Hi @talleux, yeah that is the expected behavior. When you send a link to an unopened Epichrome app, it's basically launching the app and signaling it to open whatever URL you are sending. Since the app will always open its main app window, or preconfigured tabs, or in your case whatever tabs were open on last launch, the new link will either get opened in a separate window or in another tab of the main window. Which opens first is not choosable, and just depends on the timing of when the app processes the open event. You'll see the same behavior if you try to send a link to an unopened Chrome or Brave browser.
Hi @dmarmor ,
i have at least on chrome based app that show pages in a new tab instead of a new windows when the app is closed before. I can reproduce this! Most of my apps behave like you said (new window if the app is closed, new tab if it is open). the native Chrome App behaves like this also. Does it make sense to analyze that one app in order to find out, what could lead to this behavior? If there was a way to force this behavior, this would be very useful, at least for me.
Edit: Maybe we should open a new issue for this? The original topic is actually something different and concerns Brave based apps... Up to you!
Hi @talleux --
Yeah, if you have a chance can you open a new issue for this? It helps me keep everything organized in my head. I'll reply on that thread and if it's OK send you a link where you can upload the app that behaves that way so I try to figure how what's different. Thanks!
Hi @talleux --
Yeah, if you have a chance can you open a new issue for this? It helps me keep everything organized in my head. I'll reply on that thread and if it's OK send you a link where you can upload the app that behaves that way so I try to figure how what's different. Thanks!
see #291