Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Open link from external application creates new brave window #4197

Closed
jonathansampson opened this issue Sep 22, 2016 · 17 comments
Closed

Open link from external application creates new brave window #4197

jonathansampson opened this issue Sep 22, 2016 · 17 comments

Comments

@jonathansampson
Copy link
Collaborator

jonathansampson commented Sep 22, 2016

Did you search for similar issues before submitting this one?

Yes

Describe the issue you encountered:

Brave opens with two identical windows. Clicking a link in Slack, Outlook, or GitHub for Windows demonstrates this. Additionally, running "http://bing.com" from the Run Dialog (with no Brave instance opened) results in two identical windows being opened.

Expected behavior:

When loading a resource, Brave should open at most one Window.

  • Platform (Win7, 8, 10? macOS? Linux distro?): Windows 10 (14393)
  • Brave Version: 0.12.1
  • Steps to reproduce:
    1. Close all instances of Brave
    2. Press Windows+R to open the Run Dialog
    3. Type "http://bing.com" (sans quotes) and press Enter
    4. Note that multiple Brave windows are opened
  • Screenshot if needed: N/A
  • Any related issues: N/A
@jonathansampson jonathansampson changed the title Brave Opens Identical Windows Links Open Multiple Brave Windows Sep 22, 2016
@jonathansampson jonathansampson changed the title Links Open Multiple Brave Windows Brave Opens Multiple Windows Sep 22, 2016
@decode-dev
Copy link

Cannot reproduce the Issue in Brave 0.12.1 for the both scenarios in Windows (7, 8, 10).

@bridiver
Copy link
Collaborator

I found the cause of this issue, but it's going to take a little work to untangle the code because there is a race condition between the url open and the window initialization on startup

@bridiver
Copy link
Collaborator

@decode-dev I think the description is a little misleading. The problem is that it opens a new window for the url instead of opening a new tab in one of the existing windows and I have verified the problem, but there is a race condition so it may not always occur.

@bridiver
Copy link
Collaborator

also verified this happens on all platforms

@bbondy
Copy link
Member

bbondy commented Sep 24, 2016

I think this is a dupe of #2959 we should get this one fixed. It restores the old session in window 1 and puts a new session for the new link instead o combining the old one.

@bridiver
Copy link
Collaborator

Seems like an additional issue with the window opening as full screen on top of the new tab vs window issue already filed

On Sep 24, 2016, at 10:12 AM, Brian R. Bondy notifications@github.com wrote:

I think this is a dupe of #2959 we should get this one fixed. It restores the old session in window 1 and puts a new session for the new link instead o combining the old one.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@bsclifton
Copy link
Member

+1 from @orschiro via #11098

@bsclifton bsclifton changed the title Brave Opens Multiple Windows Open link from external application creates new brave window Oct 28, 2017
@bsclifton bsclifton added this to the Triage Backlog milestone Nov 27, 2017
@srirambv
Copy link
Collaborator

@bsclifton
Copy link
Member

bsclifton commented Mar 10, 2018

+1 from both @vrms and @xsilas43 via #13378

@moustachio-belvedere
Copy link

Same for me (Windows 7, brave is default browser). I always get 1 brave window with content and one brave window with my homepage (about:blank).

@sakralbar
Copy link

I always get two browser windows when I open links from other programs.
Linux Mint 18.3 cinnamon, Brave 0.22.13

@eljuno
Copy link
Contributor

eljuno commented Apr 4, 2018

@stefangordon
Copy link

stefangordon commented Oct 26, 2018

I still see this with 0.55.20 Windows 10 - is it tracked elsewhere?

@jonathansampson
Copy link
Collaborator Author

@stefangordon I'm not able to reproduce this with 0.55.20 on Windows 10. Can you describe the steps you're taking to trigger the behavior? A video would be helpful as well if you're able.

@stefangordon
Copy link

Hey @jonathansampson -

After making a screen recording I figured out what was going on (well, more or less).

When I click a link I am getting two 0.25.2 Brave instances rather than my 0.55.20 instance. When installing the newer version I guess it did not clean up the old one, and Windows default browser must also be confused (even though 0.55.20 thinks it is the default). I'm sure I can fix this by uninstalling the old version and resetting defaults :) Thanks!

@paulklinkenberg
Copy link

paulklinkenberg commented Dec 7, 2018

Hi there! I experience the same issue on latest Macbook pro with latest OS. The issue is already marked as Closed, but there has not been a Beta or Nightly to test it :-(
Any ideas when this will become available?
Thanks for a great browser!

Oh, by the way, the latest comments refer to a version number "0.55.20". Does that version even exist? Can't seem to find anything like that version on Github... "v0.25.204" being the latest nightly and all.

@bsclifton
Copy link
Member

@paulklinkenberg this repo is tracking the old version of Brave (which was based on Muon). The latest version is in the 0.25.x range. The latest version of the NEW browser (at the time of this writing) is going to be 0.58.18. You can download that from https://brave.com/download

If you still experience the issue, you can search for or create an issue in the new repository:
https://github.com/brave/brave-browser

@brave brave locked as off-topic and limited conversation to collaborators Jan 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests