El dimarts, 13 de juny de 2017, a les 9:35:44 CEST, Jüttner, Hans-Ulrich va escriure: > Hello everybody, > > the method FormFieldButton::setState() in poppler/Form.cc checks that > the field isn't read only, but FormFieldText::setContentCopy() does not. > This is inconsistent.
Correct, FormFieldText::setContentCopy is correct, would you mind sending a patch to remove the check from FormFieldButton::setState ? > How is a PDF software supposed to behave on an > attempt to fill an AcroForm field which has state "ReadOnly"? Should not be allowed (but at the UI level, since for example the set can come from executing JS) Cheers, Albert > > Best regards, > Ulrich > > -- > Dr. Hans-Ulrich Jüttner > Software Development > > Labor Dr. von Froreich - Bioscientia GmbH > Großmoorbogen 25 > 21079 Hamburg > Deutschland > > Fon +49 (40) 766 96-305 > Fax +49 (40) 766 96-334 > Web www.froreich-bioscientia.de > _______________________________________________ > poppler mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/poppler _______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
