I needed a fix for this, so I made the attached bash script. Open your
PDF files with this script and it will decrypt the file (overwriting the
original) and open the decrypted file. Forms on decrypted PDFs can be
saved.

For me, this is an adequate fix, because the encryption only seems to
get in the way. I would be happy if Evince did the same.

I wrote this in 15 minutes and it's 4:45 in the morning, but it *seems*
to work okay. Feel free to edit it, just post the new version here (or
email it to me: [email protected]).

Thanks to Jon Leighton for pointing out qpdf!

** Attachment added: "A small script to provide a workaround for the bug"
   
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/492959/+attachment/3219191/+files/decrypt-pdf.sh

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/492959

Title:
  Evince cannot save filled PDF forms

Status in Evince document viewer:
  Confirmed
Status in “evince” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: evince

  Whenever I open a PDF form, and make a change to it (any change, such as 
filling a field), and then try to save a copy on Evince, the resulting file is 
empty. Not as in empty fields, but as in zero-bytes-long file.
  However, when trying to save a copy before any changes have been made, it 
works fine.

  This is not the same as bug 299409, since in that bug the resulting
  files are not empty.

  The particular form I'm trying to fill is
  http://www.box.net/shared/static/ia8aliz8ne.pdf

To manage notifications about this bug go to:
https://bugs.launchpad.net/evince/+bug/492959/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to