Bug 278512 - Okular launches Konqueror for HTML links, rather than my default browser
Summary: Okular launches Konqueror for HTML links, rather than my default browser
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 22:38 UTC by William Kendrick
Modified: 2011-07-25 22:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Kendrick 2011-07-25 22:38:35 UTC
Version:           0.12.2 (using KDE 4.6.2) 
OS:                Linux

I recently changed my default browser in KDE from Konqueror to Chromium (so, e.g., if I hit [Alt]+[F2] to bring up krunner, and type "google.com", Chromium is now used).

However, I was surprised to discover that, when clicking a web hyperlink in a PDF, Konqueror is still used. I didn't see a way to set preferred browser within Okular itself (though it does have an "Editor" option, which currently shows "Kate" chosen).

Reproducible: Always

Steps to Reproduce:
1. Open a PDF with hyperlinks inside.
2. Click a hyperlink.

Actual Results:  
konqueror launches, and opens the hyperlink's URL.

Expected Results:  
Default browser (in my case, now chromium-browser) launches, and opens the hyperlink's URL.

OS: Linux (i686) release 2.6.35-30-generic
Compiler: cc
Comment 1 William Kendrick 2011-07-25 22:42:25 UTC
I discovered that running "xdg-open file:///path/to/some/local.html" from a Konsole terminal ALSO brings up Konqueror instead of Chromium. I looked at "File Associations" under KDE's System settings, and found that Konqueror was listed first for "text/html" file types.

I didn't expect to need to change that, too. So this is not an Okular bug, sorry!

Once I changed the File Assoc. to use Chromium for text/html, both Okular and xdg-open did The Right Thing(tm). Thanks!