SUMMARY When clicking/following a link in Okular, you get a file download dialogue that never finishes. This is not down to incorrect MIME type associations (File type text/html and File type inode/vnd.kde.service.http point to the web browser) STEPS TO REPRODUCE 1. Open a PDF that includes links, e.g. https://gahp.net/wp-content/uploads/2017/09/sample.pdf 2. Find an active http link 3. Click to follow it OBSERVED RESULT File transfer dialogue that never completes EXPECTED RESULT Link is passed to the default web browser SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Linux 5.6.8-200.fc31.x86_64 (available in About System) KDE Plasma Version: N/A KDE Frameworks Version: 5.68.0 Qt Version: 5.13.2 ADDITIONAL INFORMATION The DE is Xfce4, but the following KDE/KDE Framework packages are installed $ dnf list installed k{d,f}* Installed Packages kde-cli-tools.x86_64 5.17.5-1.fc31 @updates kde-connect.x86_64 1.4-2.fc31 @updates kde-connect-libs.x86_64 1.4-2.fc31 @updates kde-filesystem.x86_64 4-62.fc31 @fedora kde-settings.noarch 31.0-1.fc31 @fedora kdeconnectd.x86_64 1.4-2.fc31 @updates kdegraphics-mobipocket.x86_64 19.08.3-1.fc31 @updates kdesu.x86_64 1:5.17.5-1.fc31 @updates kf5-attica.x86_64 5.68.0-1.fc31 @updates kf5-filesystem.x86_64 5.68.0-1.fc31 @updates kf5-kactivities.x86_64 5.68.0-1.fc31 @updates kf5-kactivities-stats.x86_64 5.68.0-1.fc31 @updates kf5-karchive.x86_64 5.68.0-1.fc31 @updates kf5-kauth.x86_64 5.68.0-1.fc31 @updates kf5-kbookmarks.x86_64 5.68.0-1.fc31 @updates kf5-kcmutils.x86_64 5.68.0-1.fc31 @updates kf5-kcodecs.x86_64 5.68.0-1.fc31 @updates kf5-kcompletion.x86_64 5.68.0-1.fc31 @updates kf5-kconfig-core.x86_64 5.68.0-1.fc31 @updates kf5-kconfig-gui.x86_64 5.68.0-1.fc31 @updates kf5-kconfigwidgets.x86_64 5.68.0-1.fc31 @updates kf5-kcoreaddons.x86_64 5.68.0-1.fc31 @updates kf5-kcrash.x86_64 5.68.0-1.fc31 @updates kf5-kdbusaddons.x86_64 5.68.0-1.fc31 @updates kf5-kdeclarative.x86_64 5.68.0-1.fc31 @updates kf5-kdesu.x86_64 5.68.0-1.fc31 @updates kf5-kdnssd.x86_64 5.68.0-1.fc31 @updates kf5-kdoctools.x86_64 5.68.0-1.fc31 @updates kf5-kfilemetadata.x86_64 5.68.0-1.fc31 @updates kf5-kglobalaccel.x86_64 5.68.0-1.fc31 @updates kf5-kglobalaccel-libs.x86_64 5.68.0-1.fc31 @updates kf5-kguiaddons.x86_64 5.68.0-1.fc31 @updates kf5-khtml.x86_64 5.68.0-1.fc31 @updates kf5-ki18n.x86_64 5.68.0-1.fc31 @updates kf5-kiconthemes.x86_64 5.68.0-1.fc31 @updates kf5-kinit.x86_64 5.68.0-1.fc31 @updates kf5-kio-core.x86_64 5.68.0-1.fc31 @updates kf5-kio-core-libs.x86_64 5.68.0-1.fc31 @updates kf5-kio-doc.noarch 5.68.0-1.fc31 @updates kf5-kio-file-widgets.x86_64 5.68.0-1.fc31 @updates kf5-kio-ntlm.x86_64 5.68.0-1.fc31 @updates kf5-kio-widgets.x86_64 5.68.0-1.fc31 @updates kf5-kio-widgets-libs.x86_64 5.68.0-1.fc31 @updates kf5-kirigami2.x86_64 5.68.0-1.fc31 @updates kf5-kitemviews.x86_64 5.68.0-1.fc31 @updates kf5-kjobwidgets.x86_64 5.68.0-1.fc31 @updates kf5-kjs.x86_64 5.68.0-1.fc31 @updates kf5-knotifications.x86_64 5.68.0-1.fc31 @updates kf5-kpackage.x86_64 5.68.0-1.fc31 @updates kf5-kparts.x86_64 5.68.0-1.fc31 @updates kf5-kpeople.x86_64 5.68.0-1.fc31 @updates kf5-kpty.x86_64 5.68.0-2.fc31 @updates kf5-krunner.x86_64 5.68.0-1.fc31 @updates kf5-kservice.x86_64 5.68.0-1.fc31 @updates kf5-ktextwidgets.x86_64 5.68.0-1.fc31 @updates kf5-kwallet.x86_64 5.68.0-1.fc31 @updates kf5-kwallet-libs.x86_64 5.68.0-1.fc31 @updates kf5-kwayland.x86_64 5.68.0-1.fc31 @updates kf5-kwidgetsaddons.x86_64 5.68.0-1.fc31 @updates kf5-kwindowsystem.x86_64 5.68.0-1.fc31 @updates kf5-kxmlgui.x86_64 5.68.0-1.fc31 @updates kf5-libkexiv2.x86_64 19.08.3-1.fc31 @updates kf5-plasma.x86_64 5.68.0-1.fc31 @updates kf5-purpose.x86_64 5.68.0-1.fc31 @updates kf5-solid.x86_64 5.68.0-1.fc31 @updates kf5-sonnet-core.x86_64 5.68.0-1.fc31 @updates kf5-sonnet-ui.x86_64 5.68.0-1.fc31 @updates kf5-syntax-highlighting.x86_64 5.68.0-1.fc31 @updates kf5-threadweaver.x86_64
Works fine in KDE here. Can you try xdg-settings get default-web-browser ?
Yuri meant Plasma, but yes, this works just fine, seems either a problem with your setup or with fedora
(In reply to Yuri Chornoivan from comment #1) > Works fine in KDE here. Can you try > > xdg-settings get default-web-browser > > ? $ xdg-settings get default-web-browser firefox.desktop And the same in kcmshell5 filetypes
(In reply to Albert Astals Cid from comment #2) > Yuri meant Plasma, but yes, this works just fine, seems either a problem > with your setup or with fedora I see. How can I start troubleshooting this? e.g., what okular writes in stdout doesn't appear relevant to me $ okular [and then opening a PDF and clicking on a link] Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable") kf5.kservice.sycoca: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file. kf5.kio.widgets: KRun(0x7f5b28008d10) ERROR (stat): 1 ""
Hard to say. Does kde-open5 https://kde.org work for you?
(In reply to Albert Astals Cid from comment #5) > Hard to say. > > Does > kde-open5 https://kde.org > work for you? Indeed it doesn't, I get the same dialogue as in okular $ kde-open5 https://kde.org Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name is not activatable")
Would you be able to do a screen recording of what you get?
Created attachment 128346 [details] kde-open5 infinite downloading file dialogue Yes of course. Here's what happens.
Just to double check, you don't have any proxy set at kcmshell5 proxy right?
(In reply to Albert Astals Cid from comment #9) > Just to double check, you don't have any proxy set at > kcmshell5 proxy > right? It's set to "No Proxy".
Can you confirm that installing kf5-kded fixes it?
You may need to reboot after the install
(In reply to Albert Astals Cid from comment #11) > Can you confirm that installing kf5-kded fixes it? Yes, it does. It downloads what is probably index.html first, but then passes the actual URL to the browser. Should it happen this way? What should happen next? Can Okular declare kf5-kded a hard dependency so that all distros pick it up, or should we open bugs at all affected distros' bugzillas?
kf5-kio needs to depend on kf5-kded. I have emailed kde-distro-packagers about it https://mail.kde.org/pipermail/kde-distro-packagers/2020-May/000413.html But if you have a fedora bug system user i would appreciate if you could also report it there. I'm closing this bug since there's nothing really for us to fix.
Done, and thanks for handling this https://bugzilla.redhat.com/show_bug.cgi?id=1835467