Download it now!
Bug 133322 - Error importing a pdf with filled in signature
Summary: Error importing a pdf with filled in signature
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: All Mac OS X (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 133323 133324 (view as bug list)
Depends on:
Blocks: MacOS-Wishlist PDF-Import-Draw Format-Filters
  Show dependency treegraph
 
Reported: 2020-05-23 19:24 UTC by Alexander
Modified: 2020-07-02 11:32 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test File as requested (15.31 KB, application/pdf)
2020-05-26 13:12 UTC, Alexander
Details
Test file as requested (15.31 KB, application/pdf)
2020-05-26 13:15 UTC, Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander 2020-05-23 19:24:51 UTC
Description:
"General Error. General input/output error." occurs if i try to import (drag&drop) a pdf file with a signature. I write a letter in Pages. Then i "print" a pdf out of it. I open the pdf with "Vorschau" an put my signature in it. If i try to import this file now to LibreOffice office to convert the pdf in to pdf/a, the "General Error. General input/output error." occurs. Without the signature there ist no problem.

Steps to Reproduce:
1.print a pdf out of pages
2.sign the pdf with Vorschau App
3.drag & drop to libra office

Actual Results:
"General Error. General input/output error." occurs if i try to import (drag&drop) a pdf file with a signature. I write a letter in Pages. Then i "print" a pdf out of it. I open the pdf with "Vorschau" an put my signature in it. If i try to import this file now to LibreOffice office to convert the pdf in to pdf/a, the "General Error. General input/output error." occurs. Without the signature there ist no problem.

Expected Results:
import of the file


Reproducible: Always


User Profile Reset: No



Additional Info:
Mac OS Mojave 10.14.6
Comment 1 Julien Nabet 2020-05-23 20:13:55 UTC
*** Bug 133323 has been marked as a duplicate of this bug. ***
Comment 2 Julien Nabet 2020-05-23 20:14:02 UTC
*** Bug 133324 has been marked as a duplicate of this bug. ***
Comment 3 V Stuart Foote 2020-05-24 18:02:01 UTC
LibreOffice is not a PDF editor--*all* we will do is filter import a PDF. Any 'signature' would have no meaning. And if PDF is has security set--i.e. requires a password to open--we do.

After the filter imported objects have been worked with in one of the LO modules, a new PDF export document (with signature and password security) can be created. 

That said, the filter import should not crash with "General input/output error".

Please follow your workflow to prepare a example PDF with signature and attach (include password if any).
Comment 4 Alexander 2020-05-26 13:12:03 UTC
Created attachment 161295 [details]
Test File as requested

This is a pdf file that ist created in the way i reported the bug. it was a pages document that's printed into a pdf using Mac OS printing-tool. No Problem to import in that state. But after adding my signature at it with "Vorschau" App, the pdf will not be imported to LibreOffice: "General Error.General input/output error." occurs.
Comment 5 Alexander 2020-05-26 13:15:00 UTC
Created attachment 161297 [details]
Test file as requested
Comment 6 Alex Thurgood 2020-06-02 13:56:35 UTC
Confirming with 

Version : 6.4.4.2
Build ID : 3d775be2011f3886db32dfd395a6a6d1ca2630ff
Threads CPU : 4; OS : Mac OS X 10.15.4; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

The behaviour is inconsistent to say the least :

(1) if I drag and drop the PDF file containing the signature object onto the Dock icon of LO, nothing happens.

(2) if I drag and drop the PDF file containing the signature object onto the StartCenter, I get the error message.

(3) if I try to open the file via the File > Open dialog, I get the error message.

(4) if I try to open the file as in (3) and apply the filetype filter for opening PDF in Writer, I get the error message.

(5) if I try to open the file as in (3) and apply the filetype filter for opening PDF in Impress, I get the error message.

(6) if I try to open the file as in (3) and apply the filetype filter for opening PDF in Draw, I get the error message.
Comment 7 Alex Thurgood 2020-06-02 14:02:48 UTC
If I try the same thing with LO Vanilla

Version : 6.4.4.2
Build ID : 3d775be2011f3886db32dfd395a6a6d1ca2630ff
Threads CPU : 4; OS : Mac OS X 10.15.4; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

and drag and drop the file onto the Dock icon, the file is loaded into Writer, but is essentially gibberish, as it attempts a flat decode :

%PDF-1.3
%���������
4 0 obj
<< /Length 5 0 R /Filter /FlateDecode >>
stream

This is because LO Vanilla doesn't appear to have any PDF import suppport included.