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
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.
(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.