Bug 424383

Summary: Share > mailto: fails with Thunderbird as Flatpak
Product: [Frameworks and Libraries] frameworks-purpose Reporter: Lance Haverkamp <Lance>
Component: generalAssignee: Aleix Pol <aleixpol>
Status: ASSIGNED ---    
Severity: normal CC: bugseforuns, kevindu52defargoth, kfm-devel, nate, nicolas.fella
Priority: NOR Keywords: triaged
Version: 5.66.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lance Haverkamp 2020-07-18 19:51:07 UTC
SUMMARY
When using the context menu to email an attachment, Thunderbird correctly opens a compose window, but the attachment fails to attach--ever. As far as I know this has never worked in plasma.

STEPS TO REPRODUCE
1. Set Thunderbird as the default email client
2. In Dolphin alt-click any file > share > Send via email


OBSERVED RESULT
Thunderbird compose window opens as expected, but attachment is never attached. 


EXPECTED RESULT
Thunderbird compose window opens, with attachment attached. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Kubuntu 20.04 
KDE Plasma Version: Version 5.18.4
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-07-18 20:16:09 UTC
Works for me with Frameworks 5.73 FWIW.
Comment 2 Lance Haverkamp 2020-07-18 20:23:44 UTC
(In reply to Nate Graham from comment #1)
> Works for me with Frameworks 5.73 FWIW.

I think Frameworks is set of developers tools????  What does that have to do with email attachments?
Comment 3 Nate Graham 2020-07-18 20:28:42 UTC
The "Send via Email..." plugin is a piece of code that lives in the Purpose framework, which is a part of the KDE Frameworks product, so that's why I moved it to the frameworks-purpose product in the bug tracker.

It's not something you need to worry about. :)
Comment 4 Nicolas Fella 2020-07-19 15:30:10 UTC
Works for me too.

there is some special code for dealing with Thunderbird though, maybe there's some incompatibility.

What thunderbird version are you using? And how is it installed (distro packages,  flatpak, snap etc)?
Comment 5 Nate Graham 2020-07-19 18:04:13 UTC
Works for me with Thunderbird 68.10.0 installed from openSUSE distro packaging.

Lance, what version of Thunderbird are you using, and did it come from your distro's packaging or from Flatpak, Snap, etc?
Comment 6 Nicolas Fella 2020-07-19 21:51:08 UTC
I can reproduce it with Thunderbird from Flatpak
Comment 7 Bug Janitor Service 2020-07-20 19:50:48 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/purpose/-/merge_requests/4
Comment 8 Lance Haverkamp 2020-07-21 19:12:20 UTC
(In reply to Nicolas Fella from comment #4)
> 
> What thunderbird version are you using? And how is it installed (distro
> packages,  flatpak, snap etc)?

It's a really basic setup: The latest Kubuntu 20.04 (64-bit), and the distro's official Thunderbird 68.10.0, nothing weird at all.  

I spent at least a year using KDE-Neon (based on 18.04) before Kubuntu 20.04 was released, and had the same problem there.  At least for me, it's never worked in Plasma--but those have all been Ubuntu-based.
Comment 9 Lance Haverkamp 2022-02-07 17:19:01 UTC
Nicolas Fella changed this bug report from "fails with Thunderbird" to "fails with Thunderbird as Flatpak." My original report was not Flatpak at all; it was about the official Kubuntu (and Neon) version installed from the repo's.

For the last year, I've been using OpenSUSE (mostly Tumbleweed) which has solved a lot of minor glitches like these. So, I can't tell you if this is still an issue in Ubuntu versions.
Comment 10 Nicolas Fella 2022-11-08 10:42:46 UTC
*** Bug 461582 has been marked as a duplicate of this bug. ***
Comment 11 Nicolas Fella 2022-12-04 23:01:18 UTC
*** Bug 462634 has been marked as a duplicate of this bug. ***