Bug 278512

Summary: Okular launches Konqueror for HTML links, rather than my default browser
Product: [Applications] okular Reporter: William Kendrick <nbs>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: minor    
Priority: NOR    
Version: 0.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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!