Bug 510296 - KEMailClientLauncherJob doesn't handle Thunderbird on Windows
Summary: KEMailClientLauncherJob doesn't handle Thunderbird on Windows
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-06 11:49 UTC by Anti
Modified: 2025-10-12 15:42 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anti 2025-10-06 11:49:47 UTC
When trying to send a document by email using File → Share → Send by Email, Okular opens the default email client as expected, but the document is not attached to the new email message. The email window opens empty or only with the subject filled in, but no attachment is included.

Steps to reproduce:

Open any PDF file in Okular.

Go to File → Share → Send by Email.

Wait for the default email client (e.g. Thunderbird, Evolution, etc.) to open.

Expected result:
The currently opened PDF file should be automatically attached to the new email message.

Actual result:
The email client opens, but the PDF file is not attached.

Mail client:
Thunderbird 140.3.1esr
Comment 1 Sune Vuorela 2025-10-06 12:01:00 UTC
Thunderbird is having special code for this

https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/kemailclientlauncherjob.cpp#L157

I will reassign this to KIO where this function originates. This works with other email clients.
Comment 2 Sune Vuorela 2025-10-06 12:03:04 UTC
(In reply to Sune Vuorela from comment #1)
> Thunderbird is having special code for this
> 
> https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/
> kemailclientlauncherjob.cpp#L157
> 
> I will reassign this to KIO where this function originates. This works with
> other email clients.

Oh. This was changed to a windows bug. Thunderbird is not specialcased on windows. I guess we need a windows developer with thunderbird interests to fix this.