https://bugs.documentfoundation.org/show_bug.cgi?id=165587
Bug ID: 165587
Summary: Writer embed ODF file into PDF can't be signed
Product: LibreOffice
Version: 25.2.1.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
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
--
You are receiving this mail because:
You are the assignee for the bug.