Bug 351192

Summary: Enable setting a default browser even when "in an application based on the contents of the URL" is enabled
Product: [Frameworks and Libraries] frameworks-kio Reporter: rick.2889
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kdelibs-bugs-null, luigi.toscano, matija, nate, rdieter
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description rick.2889 2015-08-11 15:38:30 UTC
If you have multiple browsers installed (say Konqueror and Firefox, which was my case), KDE does not let you set a default browser when the option "in an application based on the contents of the URL" is enabled in Applications > Default Applications > Web Browser.

Multiple people in #kde have confirmed this to be an issue.

Reproducible: Always

Steps to Reproduce:
1. In Applications -> Default Applications -> Web Browser, select the option "in an application based on the contents of the URL"
2. Click the link of a regular web page in a KIO enabled app; e.g. KMail, Konversation

Actual Results:  
The link opens in a random browser.

Expected Results:  
I would have a choice as to what browser the link should open in.
Comment 1 rick.2889 2015-08-11 15:39:18 UTC
This is KIO 5.12.0 running on Plasma 5.3.2, by the way.
Comment 2 Luigi Toscano 2015-08-11 15:49:53 UTC
Is the browser really random, or is it the browser requested by the specific MIME Type (see the panel for File Types)?

If the settings for MIME Type are used, then this is not a bug, but the expected behavior.
Comment 3 rick.2889 2015-08-11 15:52:13 UTC
That's possible, I've yet to check that. Maybe mention MIME types on the page?
Comment 4 Rex Dieter 2015-08-11 16:01:57 UTC
Based on ongoing irc exchange/discussion one way to achive the wish here, would be to make the "open in an application based on contents of the URL" checkbox independant of default browser choice (ie, it would no longer be an either/or situation).
Comment 5 Matija Å uklje 2015-08-11 16:48:59 UTC
In reply to Rex Dieter from comment #4)
> Based on ongoing irc exchange/discussion one way to achive the wish here,
> would be to make the "open in an application based on contents of the URL"
> checkbox independant of default browser choice (ie, it would no longer be an
> either/or situation).

+1
Comment 6 rick.2889 2015-08-11 16:59:04 UTC
While I'd be fine with a simple mention of MIME types, that'd be an option as well, though how were you imagining that?
Comment 7 Nate Graham 2018-05-08 21:03:40 UTC
Not sure that what's described is actually a bug. If there is a bug, it's probably that by default, the default browser should be specified explicitly by name rather than having users play the mime type ordering guessing game.
Comment 8 Luigi Toscano 2018-05-08 21:12:07 UTC
Please recheck the comment 4: the browser can be specified, this is a different issue.