flathub / org.kde.okular

https://flathub.org/apps/details/org.kde.okular
4 stars 10 forks source link

Okular can't find remote files when double clicked in Dolphin #356

Open chrisHRD opened 1 month ago

chrisHRD commented 1 month ago

SUMMARY Dolphin is possibly not passing file URLs to the flatpak of Okular . Opening PDF or image remote files via dolphin fails with error.

STEPS TO REPRODUCE

  1. Install Okular from Flathub or Fedora Flatpaks
  2. Open Dolphin, connect to SMB or Webdav share
  3. Double Click on a remote PDF or image
  4. Get error box.

OBSERVED RESULT Okular is unable to open the specified file associations when they are on a remote server provided by Dolphin. Timothée Ravier over on Fedora Discussion speculated that file URLs were not passed by Dolphin. https://discussion.fedoraproject.org/t/can-no-longer-open-files-with-okular-or-gwenview-on-a-dolphin-remote-share-smb-webdav-f39-kinoite/96788

Konsole output for SMB Connection. Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, “urls”) QString::arg: 2 argument(s) missing in org.kde.okular kf.kio.widgets: Failed to check which JobView API is supported “org.freedesktop.DBus.Error.ServiceUnknown” kf.kio.core: couldn’t create worker: “Unknown protocol ‘smb’.” kf.kio.workers.file: readData() returned -1

Konsole output for WEBDAV Connection. QString::arg: 2 argument(s) missing in org.kde.okular kf.kio.widgets: Failed to check which JobView API is supported “org.freedesktop.DBus.Error.ServiceUnknown” kf.kio.workers.http: Can’t communicate with kded_kcookiejar! kf.kio.core: Can’t communicate with kiod_kpasswdserver (for checkAuthInfo)! kf.kio.core: Can’t communicate with kiod_kpasswdserver (for queryAuthInfo)! kf.kio.workers.file: readData() returned -1

EXPECTED RESULT File should open normally regardless of location. Non-flatpak'd version of Okular works just fine.

SOFTWARE/OS VERSIONS Operating System: Fedora Linux 40 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.8.11-300.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 480 Graphics

ADDITIONAL INFORMATION https://bugs.kde.org/show_bug.cgi?id=477615