After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548653 - evince fails to correctly extract attachment
evince fails to correctly extract attachment
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: PDF
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-20 13:03 UTC by Pedro Villavicencio
Modified: 2008-08-22 10:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Pedro Villavicencio 2008-08-20 13:03:09 UTC
this report has been opened here:

https://bugs.edge.launchpad.net/ubuntu/+source/evince/+bug/257277

"While using 'pdftk' I was able to attach a PDF document within another PDF as a document-level attachment.I am able to see that document-level PDF attachment and I can extract the file using 'save as' in the 'Attachments' sidebar.

The problem is that when I attempt to open that extracted attachment, it doesn't work. Further investigation shows that the extracted PDF file is about 30% of the size of the original intended attachment, and also has a different MD5sum.

I checked with the 'pdftk' function 'unpack_files' and I can see that the file is correctly embedded in the PDF, because I can recover it exactly using pdftk.
"

Adobe acrobat can display the attachment and also save it.

PDF File:

http://launchpadlibrarian.net/16767396/sample-1-attached.pdf

Thanks,
Comment 1 Carlos Garcia Campos 2008-08-21 18:29:43 UTC
Confirmed. It's a problem with threads, I'm already working on it. 
Comment 2 Carlos Garcia Campos 2008-08-22 10:00:55 UTC
Fixed in svn trunk. Thanks for reporting.