GNOME Bugzilla – Bug 746020
In a PDF Form it is impossible to re-select radiobox selected by default
Last modified: 2018-11-11 16:23:31 UTC
[Some form elements behave strangely, as seen by the example at http://www.tcpdf.org/examples/example_014.pdf I'm speaking here about behavior of basic elements (radiobox selection), not the javascript part (which I know is not supported)] If a radiobox is preselected (as "Beer" in the example), it can no longer be re-selected after a different box has been selected. In the example, after selecting Wine, you cannot get back to Beer. This may be sound advice to avoid a hangover, but I don't think this is the intent of the form author :-)
Sorry, radio_button_, not radiobox :-)
Created attachment 348808 [details] Form with radio button generated by Word Libre Office Hi, the bug seem didn't come from evince. In my attachment you can see an exemple of a form with 4 buttons radios generated by Word Libre Office. The first button is checked by default and you can reach it again after you select another button.
Here is a small synthesis of the tests I've done so far: PDF file generated with Libreoffice writer - no problems with any reader (evince, okular, chromium) PDF file generated with TCPDF - chromium - works correctly - evicen - doesn't work (see bug description) - okular - strange behaviour, do not act as expected Do someone have an idea about what could be wrong? I'm interested in resolving this bug and will start inspecting the code. If someone has a clue about where to begin, please do share.
Since okular has similar problems, it's probably a bug in poppler.
Hi Jason Crain, thank you for your answer. I have upgrade my poppler on Ubuntu 15.10 and the problem still the same. There is a poppler in the evince source. You can reach it at : backend/pdf/ev-poppler.cc I've checked it and I think there is no problem. Currently I've no idea to fix the problem. If you (anybody) have some clue, please do share.
I think Jason meant to say that bug is in Poppler, and therefore the bug should be filed in Poppler's Bugzilla: https://bugs.freedesktop.org/enter_bug.cgi?product=poppler I can reproduce the issue using Evince master with recent version of poppler. I would try to keep the test case as small as possible. For example, leaving only the radio button.
Created attachment 349309 [details] An attachment with radio button only Hi, Germán Poo-Caamaño Here is what you want.
(In reply to Miloud Boutouba from comment #5) Poppler is the PDF rendering library used by evince. It's a separate project. It's homepage is at https://poppler.freedesktop.org/. The git repository is at https://cgit.freedesktop.org/poppler/poppler. The files in evince's backend/pdf directory just translate between poppler's API and evince's document model. I don't plan on looking into this myself, but if you want to try to track the problem down yourself, poppler's poppler/Form.cc file is a good place to start.
Thank you for your answer. Bug filed on poppler bug tracker. URL : https://bugs.freedesktop.org/show_bug.cgi?id=100535 Bug id : 100535
-- 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/579.
Commenting just to let reporter Alain to know that a fix for this bug is on the way on https://gitlab.freedesktop.org/poppler/poppler/issues/159