Bug 486838

Summary: flatpak: file dialogue to add attachment has by default no read permission to any files
Product: [Applications] kmail2 Reporter: Robert Riemann <robert>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 6.0.2   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robert Riemann 2024-05-10 08:32:50 UTC
Recently, I switched to Kinoite 40 and installed Kontact as flatpak from the fedora flatpak repository. It is now in version 6.0.2.

When I try to draft an email and click on 'add attachment', a file picker opens that cannot see any files. I have then reconfigured the flatpak permissions and added manually create access to all user files and /tmp.

I would expect Kmail/Kontact to possess the necessary permissions by default.

Reproducible: Always

Steps to Reproduce:
1. install fedora kontact flatpak
2. create a new email
3. try to add an attachment using the file picker
Actual Results:  
notice that no file can be selected in file picker

Expected Results:  
I can choose any file from the system in the file picker

Down-stream bug report for the Fedora project:
https://bugzilla.redhat.com/show_bug.cgi?id=2279924