[okular] [Bug 487929] Links doesn't open in browser, the page gets downloaded and a pop up appears asking you how to open the downloaded file.

Alejandro Villar bugzilla_noreply at kde.org
Fri Jun 7 10:24:06 BST 2024


https://bugs.kde.org/show_bug.cgi?id=487929

--- Comment #1 from Alejandro Villar <alx5000 at alx5000.net> ---
In my case (Ubuntu 24.04 LTS with okular 4:23.08.5-0ubuntu5), the URLs are
first queried and then the default text/html handler is opened (Kate on my
machine), instead of being opened directly by Firefox (my default browser).

If I change the file association for text/html to Firefox, Okular first fetches
the URL and then passes it (the URL, not the fetched file) to Firefox, so in
essence the resourced is retrieved twice (confirmed with Wireshark).

I think this behavior is due to the following change, in which KRun is replaced
with KIO::OpenUrlJob: https://github.com/KDE/okular/commit/1b479dfb7b

Not a QT or KDE expert, but could this maybe be replaced with
QDesktopServices::openUrl()?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list