Description: In Writer export document as PDF but check the embed ODF file option at PDF export dialog. Now open PDF in LibreOffice and document is not able to sign. It reports strange error: "C:\mypath\file.tmp does not exists" instead. Steps to Reproduce: It looks like the same issue appears if using LibreOffice signing mechanism. 1. Open new LibreOffice Writer document. 2. Type some text in it and save document with mydoc.odt. 3. File | Export As | Export as PDF. 4. "PDF Options" dialog opens. In default "General" tab make sure "Hybrid PDF (embed ODF file)" is unchecked and click on "Export" button. 5. "Export" dialog opens. In "File name" field type in mypdf.pdf and click on Save button. 6. File | Close and close down Writer document without saving. 7. In File | Digital Signatures | Sign Existing PDF. 8. In "Open" dialog select mypdf.pdf and "Open" button. 9. On top blue banner is displayed: "Document is open in read only mode", which is fine. 10. File | Digital Signatures | Digital Signatures 11. Dialog opens, click on "Sign Document" button. 12. Select certificate and Sign button. 13. Confirmation dialog is opened click on Yes and PDF is signed. 14. Close down signed PDF in Writer and reopen it. Now docuemnt is opened in LibreOffice Draw and at the top of the banner it is displayed that document is signed. This works as expected. But now embed ODF dokument like: Steps 1-3 4. "PDF Options" dialog opens. In default "General" tab check "Hybrid PDF (embed ODF file)" and click on "Export" button. Steps 5-10. Actual Results: It takes few seconds then error is displayed with title "Error" and error body "C:\mypath\file.tmp does not exists." Expected Results: Signing dialog opens and allows me to sign the document. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.2.1.2 (X86_64) / LibreOffice Community Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49 CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win Locale: sl-SI (en_SI); UI: en-US Calc: CL threaded
Please check with a nightly build of master against 25.8, there has been work on the PDF 2.0 that may improve things.
I have downloaded and installed latest development version. I have selected "Hybrid PDF" and "PDF 2.0" (as instructed) when exporting PDF. But in step 10: File | Digital Signatures | Digital Signatures I get the same error: C:\Users\myuser\Documents\lu4508h0vv.tmp does not exist. =================== Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 19ac1ce1531e4ff6977cca1321c73494c0ffaef1 CPU threads: 2; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: en-US (en_SI); UI: en-US Calc: threaded