Bug 487203 - flatpak: cannot open kmail mail attachments with default apps or any other app
Summary: flatpak: cannot open kmail mail attachments with default apps or any other app
Status: ASSIGNED
Alias: None
Product: kontact
Classification: Applications
Component: mail (show other bugs)
Version: 6.0.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-18 20:35 UTC by Robert Riemann
Modified: 2024-08-16 21:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
first dialogue happens when clicking on pdf attachment, second one when clicking on open with (201.85 KB, image/png)
2024-05-18 20:35 UTC, Robert Riemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Riemann 2024-05-18 20:35:16 UTC
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
Comment 1 Robert Riemann 2024-06-10 20:25:26 UTC
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
Comment 2 Bug Janitor Service 2024-08-16 21:00:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1690