SUMMARY (snap okular 24.05.1) okular fails to open some local files (not under home) by cmdline, but can open it by GUI navigation STEPS TO REPRODUCE Let directories be: ``` /storage (separate disk mounted on /) /storage/Downloads (dir on disk /storage) /_disk_home (separate disk mounted on /) /home (separate disk; bind mount from /_disk_home) /home/<me> (dir on /home) /home/<me>/Downloads (symlink) -> /storage/Downloads ``` Then try to open same files by cmdline and GUI navigation. OBSERVED RESULT `okular /home/<me>/a.pdf` OK; `okular` then File->Open...->(gnome file dialog)->navigate/select: OK; `okular /home/<me>/Downloads/b.pdf` Fail; `okular` then navigate: OK; `okular /storage/Downloads/b.pdf` Fail; `okular` then navigate: OK; EXPECTED RESULT `okular /home/<me>/Downloads/b.pdf` & `okular /storage/Downloads/b.pdf` success SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 22.04.4 LTS KDE Frameworks Version: 6.4 Qt Version: 6.7.1 ADDITIONAL INFORMATION I don't understand the quirks of gnome/snap, so I don't know if it is gnome/snap's flaw. ``` mount | grep ext4 /dev/nvme2n1p3 on / type ext4 (rw,relatime,errors=remount-ro) /dev/nvme0n1p1 on /_disk_home type ext4 (rw,relatime,errors=remount-ro) /dev/nvme0n1p1 on /home type ext4 (rw,relatime,errors=remount-ro) /dev/nvme1n1p1 on /storage type ext4 (rw,relatime,errors=remount-ro) ``` ``` snap connections okular Interface Plug Slot Notes audio-playback okular:audio-playback :audio-playback - content[icon-themes] okular:icon-themes gtk-common-themes:icon-themes - content[kf6-core22-all] okular:kf6-core22 kf6-core22:kf6-core22-slot - content[sound-themes] okular:sound-themes gtk-common-themes:sound-themes - cups okular:cups cups:cups - dbus - okular:session-dbus-interface - desktop okular:desktop :desktop - desktop-legacy okular:desktop-legacy :desktop-legacy - home okular:home :home - network okular:network :network - network-bind okular:network-bind :network-bind - opengl okular:opengl :opengl - removable-media okular:removable-media :removable-media - system-packages-doc okular:system-packages-doc :system-packages-doc - udisks2 okular:udisks2 - - unity7 okular:unity7 :unity7 - wayland okular:wayland :wayland - x11 okular:x11 :x11 - ```
Let directories be: ``` /storage (separate disk mounted on /) /storage/Downloads (dir on disk /storage) /_disk_home (separate disk mounted on /) /home (separate disk; bind mount from /_disk_home/home) /home/<me> (dir on /home) /home/<me>/Downloads (symlink) -> /storage/Downloads ```
Does this work on the non snap version?
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.