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 480324 - No automatic calculation with PDF fillable forms in Evince
No automatic calculation with PDF fillable forms in Evince
Status: RESOLVED NOTGNOME
Product: evince
Classification: Core
Component: PDF
2.20.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-09-25 18:07 UTC by antistress
Modified: 2011-03-21 22:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description antistress 2007-09-25 18:07:18 UTC
Please describe the problem:
Evince 2.20 introduces the fillable forms fonctionnality.

But unlike Adobe Acrobat Reader 7 running on Windows XP, Evince 2.20 running on Ubuntu Gusty Tribe 5 doesn't handle automatic calculation in PDF fillable forms.

Below is an illustration of this problem with a french tax form (french people loves taxes as you know well ;-)

Steps to reproduce:
1. Download that PDF form :  http://www.impots.gouv.fr/portal/paf_dgi/html/redirect.jsp;jsessionid=PFHOUYKJCX5NNQFIEMRSFFWAVARXAIV1?path=/portal/deploiement/p1/fichedescriptiveformulaire_3537/fichedescriptiveformulaire_3537.pdf

(if the link is not permanent, you can catch the form from the portail http://www.impots.gouv.fr : click on the green button named "particuliers" then click on the button named "rechercher un formulaire" on the left side of the screen then key "2048" in front of "Numéro d'imprimé" and validate, then choose in the 1st drop-down list the 1st choice called "2048-IMM PDF remplissable (174 Ko)" and click "ok" - note that "remplissable" means fillable in french)

The second page of that form has an automatic calculation fonction which work with Acrobat reader on Windows but not with Evince on Ubuntu
2. 
3. 


Actual results:
There is no automatic calculation

Expected results:
There should have an automatic calculation

Does this happen every time?
yes

Other information:
Comment 1 antistress 2007-09-25 21:21:30 UTC
also the data are not saved with that form when i try to "save a copy"
Comment 2 Carlos Garcia Campos 2007-09-28 10:09:41 UTC
Both form actions and saving filled data to the pdf file are not yet supported by poppler. 
Comment 3 Alex Lancaster 2007-10-14 09:50:23 UTC
Should this bug be confirmed as an enhancement like bug #480668 ?
Comment 4 antistress 2009-02-21 18:30:25 UTC
saving filled data seems to be now supported by poppler

what about form actions ?

i've read that poppler 0.9 has initial JavaScript support : could this be helpful ?
Comment 5 Leonardo Ferreira Fontenelle 2011-03-21 22:58:12 UTC
I was told on IRC that for this calculation/autoupdate to work poppler has to support properly javascript contained in the PDF document.

From evince's mailing list:
https://mail.gnome.org/archives/evince-list/2011-January/msg00016.html

Closing as NOTGNOME. See relevant bug report for poppler:
https://bugs.freedesktop.org/show_bug.cgi?id=14433