Bug 510463

Summary: sharing via email does not work in flatpaks like gwenview or okular + flatpak email client
Product: [Frameworks and Libraries] frameworks-purpose Reporter: renner0
Component: generalAssignee: Aleix Pol <aleixpol>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.18.0   
Target Milestone: ---   
Platform: KDE Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description renner0 2025-10-10 15:49:33 UTC
SUMMARY
sharing via email does not work in apps like gwenview and okular

STEPS TO REPRODUCE
1. Install gwenview/okular and thunderbird/geary from flathub (using the bundled nightly version of gwenview with kde linux is reproducible as well)
2. Make thunderbird the default email application in settings
3. open a picture with gwenview
4. click share > send via email

OBSERVED RESULT
no email client is being opened

Error while sharing: no mail client found
stdout: qml: No mail client found

EXPECTED RESULT
email client is being opened

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2025-10-10
KDE Plasma Version: 6.5.80
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.2
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I filed the bug against the version used in the flatpak runtime on flathub as that is a stable version
https://universal-blue.discourse.group/t/gwenview-share-to-mail-does-not-work/10792

I hope I filed this against the right framework lol