question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Desktop] --new-window <url> CLI option doesn't open new window to url

See original GitHub issue

Description

When using the CLI, the --new-window <url> option fails to open the provided url. I’ve only tested this on macOS 10.14.6(Mojave), so it may be working correctly on other platforms.

Steps to Reproduce

  1. Run open -a "Brave Browser" --args --new-window 'https://duckduckgo.com' from the command line.

Actual result:

Brave is given focus, but the url isn’t loaded.

Expected result:

Brave is given focus, and the passed-in url is loaded.

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave 1.11.97 Chromium: 84.0.4147.89 (Official Build) (64-bit)
Revision 19abfe7bcba9318a0b2a6bc6634a67fc834aa592-refs/branch-heads/4147@{#852}
OS macOS Version 10.14.6 (Build 18G6020)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes.
  • Can you reproduce this issue with the beta channel? No
  • Can you reproduce this issue with the nightly channel? No

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? No.
  • Does the issue resolve itself when disabling Brave Rewards? No.
  • Is the issue reproducible on the latest version of Chrome? No, this issue doesn’t occur in Chrome Version 84.0.4147.89 (Official Build) (64-bit).

Miscellaneous Information:

N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
daytonlowellcommented, Sep 3, 2020

Yeah, I’m experiencing the same behavior as @LaurenWags, but since it no longer appears to be Brave-specific, I can make a report on the Chromium project.

0reactions
bscliftoncommented, Feb 8, 2021

Tested on 1.19.92 on Windows - this is now working as expected 😄 I wasn’t able to find an upstream bug in Chromium bug tracker

@daytonlowell let us know if you’re still experiencing this! Link to the Chromium report appreciated too. Thanks 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command-Line Option to Open Chrome in New Window and ...
opens a new tab in an existing instance of chrome and moves the focus from the terminal to the newly created tab. Adding...
Read more >
command line - Launching a website via windows commandline
I have reports of IE 6 replacing the content of a current opened window with the content of url.com.
Read more >
How to Make Links Open in a New Window or Tab
The short answer is: just add a target="_blank" attribute to your links (anchor tags). For example, if you have a link that says...
Read more >
Window.open() - Web APIs | MDN
The Window interface's open() method takes a URL as a parameter, and loads the resource it identifies into a new or existing tab...
Read more >
macos - Is it possible to open a new chrome Browser Window ...
open -na "Google Chrome" --args --new-window "https://georgegarside.com". -n opens a new instance of an application.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found