Dear Okular developers,

A second issue on the same system (Okular 26.08.2 portable, Windows Server
2019, Outlook as default mail client):

Steps to reproduce:
1. Open any PDF in Okular.
2. Toolbar "Share" -> "Send via Email ...".

Expected: The default mail client opens a new message with the PDF attached.
Actual: Outlook opens an empty new message. The PDF is not attached; subject
and body are empty as well.

Analysis: The Purpose email plugin (kf6\purpose\emailplugin.dll) uses
KEMailClientLauncherJob from KF6KIOGui.dll. Apart from Thunderbird, it only
builds a mailto: URL with an "attachment=" parameter. The mailto: handler
here is Outlook (Outlook.URL.mailto.15), and Outlook does not accept
attachments from mailto: URLs. On Windows the feature therefore silently
produces an empty mail. A MAPI-based path (MAPISendMail), as used by Windows
"Send to -> Mail recipient", would work with Outlook and other MAPI clients.

Workaround for users: right-click the PDF in Explorer -> "Send to" -> "Mail
recipient".

Kind regards

Dr. Johannes Fiala
German Attorney at law


 
 
Von: [email protected] <[email protected]> 
Gesendet: Dienstag, 27. Oktober 2026 07:45
An: [email protected]
Betreff: Okular 26.08.2 on Windows: "Open Containing Folder" opens
"This PC" instead of the folder
 
Dear Okular developers, 
I would like to report a bug in Okular on Windows. 
Version: Okular 26.08.2 (portable build, "okular --version" reports
26.08.2), KF6 KIO DLLs from the same package 
OS: Windows Server 2019 Standard (10.0.17763), German locale, Remote
Desktop session 
Steps to reproduce: 
1. Open any PDF in Okular, e.g. H:\example.pdf (H: is a mapped network
share) or a PDF on a local NTFS drive G:\... 
2. Click "Open Containing Folder" in the toolbar. 
Expected: Windows Explorer opens the folder containing the PDF and
selects the file. 
Actual: Windows Explorer opens at "This PC". The folder is not opened
and nothing is selected. 
The behaviour is the same on a local drive (G:) and on a mapped network
drive (H:), and for paths with and without special characters.
Cross-check: Running explorer.exe /select,"H:\example.pdf" directly
opens H:\ and selects the file correctly. Windows Explorer itself
therefore works as expected. The problem seems to be in the way
Okular/KIO passes the path to Explorer (perhaps forward slashes or a
file:// <file:///>  URL instead of a native path).
I could not find an existing report for this on bugs.kde.org. Please
let me know if you need further information or a test with a newer
build.
Kind regards 
Dr. Johannes Fiala 
German Attorney at law 


Reply via email to