https://bugs.winehq.org/show_bug.cgi?id=11770
Jeremy White jwhite@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jwhite@codeweavers.com
--- Comment #23 from Jeremy White jwhite@codeweavers.com --- I've spent some time exploring this.
I considered three approaches. The first involved modifying winebrowser to add an &attach= stanza to the mailto URI. That works with xdg-email and Thunderbird on XFCE on Linux. It's not clear if it would work anywhere else, and the &attach= expression is not a documented part of the mailto uri specification.
The second approach was to create an xdgmime dll, parallel to the winemapi dll. The downside to that is that the mapi32 specification does not seem to allow for any sort of cascade or fallback, or any way to intelligently set a default provider. So while that felt more correct in some ways, it seemed likely to result in bit rot, and thus be less desirable.
Finally, I decided to modify winemapi dll itself to look for xdg-email, and if found, use it directly, rather than going through winebrowser. A patch with this change was submitted here: https://www.winehq.org/pipermail/wine-devel/2016-November/115298.html