Evince checkboxes are not independent as they should
Description
While radio buttons work correctly in Evince, i.e. only one of them can be selected at a time, checkboxes do not work because they cannot be selected independently of each other. Instead, selecting one checkbox deselects the other.
How to reproduce
The attached PDF demo with radio buttons and checkboxes works correctly with Adobe Reader, Firefox, Google Chrome, Opera, Thunderbird and many other tested PDF viewers of all kinds, except Evince, where the checkboxes are not independent. They even interact incorrectly with neighboring radio buttons. I first noticed this after upgrading from Fedora 35 to Fedora 38. I therefore created an issue with Evince. After further debugging and testing, I was able to localize the problem in the poppler library. When I compiled libpoppler-glib 21.08.0 (the Fedora 35 version) and installed it on Fedora 38 instead of its original version 23.02.0, the problem was gone. I therefore left Evince's issue thread and came here.
Since there are only 18 tags between 21.08.0 and 23.02.0, it only took me four bisect steps to figure out that the problem was introduced between poppler-22.04.0 and poppler-22.05.0.
Severity
As I said in the other thread, the problem is relevant, for example, on Fedora where Evince is the default PDF viewer, so users of that distribution cannot complete PDF forms with checkboxes.
It would be great if someone familiar with the libpoppler-glib library could help fix this problem. I will definitely continue to work on the problem and try to narrow it down further, and will of course be available for testing.