GNOME Bugzilla – Bug 695615
evince does not save filled PDF forms
Last modified: 2018-05-22 15:00:37 UTC
Created attachment 238567 [details] V0100.pdf Also reported as Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1153517 I am on Raring and open the attached PDF file with a form. I can fill in the form without problems, but if I want to save the form (there is only "Save a copy ..." not "Save" for simply saving back the form content) I get the error message The file could not be saved as "...". Document is encrypted The issuer of the form has explicitly allowed to save the filled form. Adobe Reader on 32-bit Precise saves it without problems and with the filled fields (and I can load the saved form with evince on my Raring box and print it with the filled data).
Which version of poppler are you using? I believe that this bug was a poppler one that is already fixed as of poppler 0.22
I am on Ubuntu Raring, it is still on 0.20.5.
Can you attach a patch to backport the fix into Poppler 0.20.5? Thanks.
I am sorry, but I don't know when or with which commit(patch) this was fixed... I just happened to test a related bug and realized that the bug was no-longer valid. There are a lot of bugfixes in poppler-0.22, so I would recommend trying a newer poppler, instead of just bisecting and trying to apply a patch. Unfortunately, Ubuntu takes a lot of time to update their poppler packages.
Ubuntu is going to ship 0.20 for Raring. One alternative would be filing a bug in launchpad requesting to ship poppler 0.22 (tough, Ubuntu is in release freeze, AFAIK) *and* an Ubuntu developer that sponsor that request.
Git bisect reveals this commit[1]: commit 800b2e37d3c4c73147bf9e11d9f38afe2183ab9d Author: Fabio D'Urso <fabiodurso@hotmail.it> Date: Wed Aug 1 14:07:10 2012 +0200 Initial support for saving encrypted documents - Do not refuse to save encrypted documents - Copy the /Encrypt value in the new document's trailer dictionary - Mark indirect objects referred from /Encrypt as not encrypted in XRef::scanSpecialFlags [1] http://cgit.freedesktop.org/poppler/poppler/commit/?id=800b2e37d3c4c73147bf9e11d9f38afe2183ab9d
This should be requested in poppler's bugzilla. Leaving this bug opened in the meanwhile. Once reported there, this should be closed as NOTGNOME with a link to the poppler bug (in "See Also" field).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/332.