Bug 363103 - when a hot-link inside a pdf document is clicked from within Okular it launches the non-default browser and fails with network error
Summary: when a hot-link inside a pdf document is clicked from within Okular it launch...
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.24.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-15 16:24 UTC by Brian
Modified: 2016-05-30 20:49 UTC (History)
1 user (show)

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 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.