Bug 363103

Summary: when a hot-link inside a pdf document is clicked from within Okular it launches the non-default browser and fails with network error
Product: [Applications] okular Reporter: Brian <isogoog>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: major CC: aacid
Priority: NOR    
Version First Reported In: 0.24.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brian 2016-05-15 16:24:37 UTC
The hotlink within every PDF file is available from all pdf viewers and the viewers all follow the link correctly, launching the correct browser and resolving the link correctly. The same hotlinks in the same documents, while visible within Okular, do not now launch the default browser but shows some other browser which fails to resolve the link, giving a network error. This is new behaviour with this version. Okular never did it before.

Reproducible: Always

Steps to Reproduce:
1. create a pdf file with a small area hotlinked to a local html file
2.open okular to view the pdf file and locate the hot linked area, mouse over to see the URL.
3.click the area and see strange Ubuntu default browser appear showing 'network error'.
4. try with evince and all works fine.

Actual Results:  
cannot view the local html file

Expected Results:  
view the local html file

Ubuntu 16.04 LTS
Okular 24.02
Comment 1 Albert Astals Cid 2016-05-16 22:13:01 UTC
Please attach a pdf with such a problem.
Comment 2 Brian 2016-05-30 00:25:16 UTC
Resolved:
The 'swipe' based Ubuntu 16.04 'web browser' was being used, without permission, in Okular as the primary browser for pdf hot area click resolution.

uninstalling the unwanted web browser fixed the issue and returned the Firefox application to the default browser. All 'hot' areas within a pdf now resolve correctly

do    " sudo apt-get remove browser-app "     to eliminate this problem.

Brian
Comment 3 Albert Astals Cid 2016-05-30 20:49:39 UTC
Seems a misconfiguration problem.