SUMMARY can't open files dnd'd into the window with the flatpak STEPS TO REPRODUCE 1. drag a file from dolphin into okular OBSERVED RESULT it can't find the file (because it's sandboxed) EXPECTED RESULT being able to open the file SOFTWARE/OS VERSIONS Linux: Fedora 29 KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.55.0 Qt Version: 5.11.3 ADDITIONAL INFORMATION opening from File->Open does work (uses a portal)
FWIW i don't think this is actually fixable given how sandboxing works. At this point the best solution would probably ignoring the drop if sandboxed. Adding Jan, he has more experience with flatpak and maybe has an idea on how to bypass sandboxing here.
Correct, AFAIK this is unfortunately not possible due to Flatpak limitations. :( https://github.com/flatpak/xdg-desktop-portal/issues/99
so, what I got from that, ending with https://github.com/flatpak/flatpak/pull/2065, is that it had to be implemented by the toolkit, GTK in their case, he implemented something in gtk but he finally says he's going with a portal instead and the repo he links to says nothing about it. am gonna ask there but hopefully anyone (Jan) already knows how to handle this
it works using okular from flathub now