mate-desktop / atril

A document viewer for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
198 stars 62 forks source link

docusigned PDFs do not open in Atril #516

Open jonpolak opened 3 years ago

jonpolak commented 3 years ago

Expected behaviour

PDFs that are signed with docusign can be opened and read in Atril

Actual behaviour

Upon opening Atril throws error saying "The document contains no pages"

Steps to reproduce the behaviour

Open a file that has been signed by docusign. Like example attached herein. Xontogeny,_LLC-Amend_1_to_CDA.docx.pdf

MATE general version

1.24.1

Package version

1.24.0-1

Linux Distribution

Ubuntu Mate 20.10

Link to bugreport of your Distribution (requirement)

ke352802081770314 commented 3 years ago

I noticed this as well, but other software I tried to open it with also failed in different ways: GIMP, Inkscape, Libreoffice Draw, PDF Arranger. Libreoffice also reports it is "partially signed". Therefore I think the signed PDF is constructed in a particularly hard to handle way, and I have contacted Docusign asking for advice on the topic.

(This does not belong in the ticket here, but in case you - or someone else who reads this - are desperate to get a peek inside the document(s), I found that by following the provided link in the conclusion email, if I choose "combined PDF document" (downloading a PDF) instead of "collection of PDF documents" (downloading a ZIP) I get a working PDF. I am not sure whether this option is also available if you only got a single document, in my case the trasaction included a total of three documents.)

ke352802081770314 commented 3 years ago

Docusign claims that they comply with PDF 1.5, and that the files is standards compliant. More specifically, the answer I ŕeceived from a Docusign person was: "I discussed this issue with one of the DocuSign Signing PMs. [...]He also said the PDFs have a compressed xref table that only support PDF 1.5 and later. If your pdf readers only support 1.4, they won’t open." I used online tool https://www.pdfen.com/pdf-a-validator both on the attached PDF of the original submitter and on one of the files I received, for the attached, the result is: Status Validation Successful Result The format of the document is PDF1.5 Not PDF/A. For the one I received, the result is: Status Validation Successful Result The format of the document is PDF1.7 Not PDF/A. I will follow up why my file is cialmed 1.7 and not 1.5 contrary to the vendor's statement, but I hope this helps in diagnosing the issue.

wsdickerson commented 1 year ago

I couldn't open a Docusign PDF until I tried PDF Studio.

cwendling commented 1 year ago

The PDF in the OP works for me with Atril 1.26.0, and probably more importantly poppler 22.08.0-2.1 and poppler-data 0.4.11-1.