Bug 474399

Summary: Okular opens hyperlinks in new document, not browser
Product: [Applications] okular Reporter: nickwiltsher
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nickwiltsher 2023-09-11 09:54:49 UTC
SUMMARY
***
Whenever I click on a hyperlink in Okular, the program opens the link itself by producing and opening a new document with all the html code from the linked site, rather than sending the link to the system default web browser. This is new behaviour following an upgrade of operating system. It appears that the system defaults are set correctly, and I cannot see an option to change this is Okular.  
***


STEPS TO REPRODUCE
1. Click on any hyperlink in a pdf open in Okular.

OBSERVED RESULT
Link opened by Okular in new document.

EXPECTED RESULT
Link opened in system default web browser.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-82-generic (64-bit)


ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2023-09-11 21:14:14 UTC
Can you attach an example file?
Comment 2 nickwiltsher 2023-09-12 09:07:55 UTC
I can't, because it ... somehow fixed itself? It's been doing this for a couple of months, with all hyperlinks, so it wasn't a temporary aberration. The only thing I can think of that I did between encountering the problem yet again yesterday and reporting the bug was to double-check that there was actually a web browser selected under default applications and to re-apply the selection—maybe double-checking fixed that? Anyway. Thanks and sorry to waste time.