Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] SOLVED -- (KDE user) Okular -- no longer opens .pdf file from dolphin  (Read 4415 times)

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Is it only me, or has dolphin been ignoring your system-settings/default applications setup? If I click a .pdf in a dolphin window, nothing happens.  If I right-click and choose Open With/Okular, nothing happens.  If I open Okular, do File/Open and browse to the file, it will open as expected. Where do you suspect this bug lives?
« Last Edit: 2020/03/31, 23:34:17 by dibl »
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline unklarer

  • User
  • Posts: 817
Re: (KDE user) Okular -- no longer opens .pdf file from dolphin
« Reply #1 on: 2020/03/27, 20:02:40 »
Everything is opened correctly here
- dolphin pdf direct
- via right click selection
- okular, file selection


Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: (KDE user) Okular -- no longer opens .pdf file from dolphin
« Reply #2 on: 2020/03/28, 10:13:13 »
Thanks @unklarer.

Further troubleshooting indicates this problem is isolated to one machine only.  That plasma/KDE system has no other known problems, so it's not a bug in the software.  It must be something in the configuration of that plasma DE.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline unklarer

  • User
  • Posts: 817
Re: (KDE user) Okular -- no longer opens .pdf file from dolphin
« Reply #3 on: 2020/03/31, 09:43:54 »
Quote from: unklarer
@dibl,
a few more ideas:

- open dolphin (okular) with the terminal and run the whole procedure. Watch the terminal, maybe it tells you errors

That is an excellent suggestion -- I should have thought of it myself.

So, I did that and I got two surprises:

1. A random PDF opened in Okular as expected (the problem is with all PDFs, regardless of the quality).

2. I saw this surprising list of problems in the terminal window:

Code: [Select]
kf5.kio.core: "Could not enter folder tags:/."
inotify_add_watch(/lost+found) failed: (Permission denied)
inotify_add_watch(/root) failed: (Permission denied)
inotify_add_watch(/run/alsa) failed: (Permission denied)
inotify_add_watch(/run/cryptsetup) failed: (Permission denied)
inotify_add_watch(/run/initramfs) failed: (Permission denied)
inotify_add_watch(/run/lvm) failed: (Permission denied)
inotify_add_watch(/run/openvpn-client) failed: (Permission denied)
inotify_add_watch(/run/openvpn-server) failed: (Permission denied)
inotify_add_watch(/run/sudo) failed: (Permission denied)
inotify_add_watch(/run/udisks2) failed: (Permission denied)
discarding "Send SMS via KDE Connect" ("ShareUrl")

These docs are on an luks1 encrypted file, which I open with zulucrypt and dolphin before doing any work. I wonder if that is related to all the "permission denied" messages since, for this test, I ran dolphin as a user from my terminal.

As a further test, in dolphin I browsed to my downloads folder where there are also some PDFs.  They open in Okular as expected with one click.  So, this tells me that the issue with the PDFs on the encrypted file is related to encryption.

Thanks for the help!   :D

I will mark this as solved since I now understand where the issue is, and expect that it will be worked out in further development of the packages involved.
« Last Edit: 2020/03/31, 23:33:47 by dibl »