Skip to content

Conversation

@taooceros
Copy link
Member

@taooceros taooceros commented Nov 18, 2020

#203 Use the Default Browsers in the computer instead of simply using chrome as default.

@taooceros taooceros requested a review from JohnTheGr8 November 19, 2020 00:33
/// </summary>
public static void NewBrowserWindow(this string url, string browserPath = "")
{
browserPath = string.IsNullOrEmpty(browserPath) ? GetDefaultBrowserPath() : browserPath;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with getting the default browser from user, which could be any browser right, do we know if it will support opening in new window?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works on firefox and chromium-based browsers, and there is a fix for IE a few lines later.... I think this covers pretty much every browser.

@jjw24
Copy link
Member

jjw24 commented Nov 19, 2020

Why are we changing the behaviour of opening hyperlinks in Flow from as a new window to as a tab? I think the core of the issue is supporting default browser right?

Copy link
Member

@JohnTheGr8 JohnTheGr8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we changing the behaviour of opening hyperlinks in Flow from as a new window to as a tab? I think the core of the issue is supporting default browser right?

opening in a new tab is expected behavior I think, no app opens links in a new window AFAIK...

@jjw24 jjw24 added the enhancement New feature or request label Nov 19, 2020
@taooceros
Copy link
Member Author

Yes, and also we didn't provide the option for user to choose open in new window or tap. Besides, the default system behavior for browsers except is opening websites in new tab.

@jjw24
Copy link
Member

jjw24 commented Nov 20, 2020

Looks good to me. Good to go from you @JohnTheGr8 ?

@jjw24
Copy link
Member

jjw24 commented Nov 20, 2020

I will add Flow.Launcher.Plugin version bump to the 1.5.0 version bump pr once this goes in.

@JohnTheGr8 JohnTheGr8 changed the title Default browser change Use default system browser change Nov 20, 2020
@JohnTheGr8 JohnTheGr8 changed the title Use default system browser change Use default system browser Nov 20, 2020
@JohnTheGr8 JohnTheGr8 merged commit df3a9a4 into Flow-Launcher:dev Nov 20, 2020
@taooceros taooceros deleted the DefaultBrowserChange branch November 30, 2020 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL's in Settings don't respect default system browser and just use Google Chrome

3 participants