Bug 104619 - Form entries with the same name do not share their values
Summary: Form entries with the same name do not share their values
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
Depends on:
Reported: 2018-01-13 20:23 UTC by Gurb
Modified: 2018-08-20 22:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Test PDF file: a form with two fields whose names are 'name' (24.29 KB, application/pdf)
2018-01-13 20:23 UTC, Gurb

Description Gurb 2018-01-13 20:23:34 UTC
Created attachment 136713 [details]
Test PDF file: a form with two fields whose names are 'name'

According to the PDF 1.7 standard (, fields with the same fully qualified name shall have the same value. In Adobe Reader, when the user fills a text field, all other homonym fields are filled automatically with that value. Some PDF rely on this feature to autocopy their forms in different pages so that they can be delivered to different recipients once printed.

I guess this is a poppler bug since Evince and Okular do not show this behaviour. Different fields with a common name can be filled with different values. If the file is saved and opened in Adobe Reader the value of the first is shown in all of them. If opened in Evince or Okular, they show different values.

That happens in Arch Linux with poppler 0.61.1, evince 3.26.0+14+g2a499547-1 and okular version 17.12.1-1, but also in older versions. I attach a test PDF file.

PS: having a look at the source code it seems that different FormWidgetText can have a common FormFieldText parent, and when the value of any of the widgets changes, FormField::updateChildrenAppearance may refresh the displayed text of all other widgets for the field. But perhaps widgets are not created so that they share their parent.
Comment 1 GitLab Migration User 2018-08-20 22:13:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org'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.freedesktop.org/poppler/poppler/issues/234.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.