Created attachment 169601 [details] first dialogue happens when clicking on pdf attachment, second one when clicking on open with SUMMARY I have Kontact with Kmail installed as Flatpak from fedora flatpak repository. When I receive pdfs as attachment, I cannot open them with okular without saving them first to disk. Same issue for any other attachment types. STEPS TO REPRODUCE 1. receive an email with pdf attachment (or other file) 2. click on them for open 3. notice that okular is not an option and app chooser is basically empty OBSERVED RESULT Cannot open with okular EXPECTED RESULT flatpak aplication chooser portal opens and permits to open file with okular ADDITIONAL INFORMATION Related Discussion at https://discussion.fedoraproject.org/t/evolution-flatpak-cant-open-pdf-from-attachments-when-composing-email/24230 Related flatpak bug concerning composing mails with attachment: while granting kontact access to all system files may be good workaround, it would be better to rely on the flatpak open file portal: https://bugs.kde.org/show_bug.cgi?id=486838
I have switched to the flatpak from the flathub repository at https://github.com/flathub/org.kde.kontact . Same problem with the version 5.24.4
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1690