Bug 468037

Summary: Form: 2 of the tick boxes don't work (UK IHT 400)
Product: [Applications] okular Reporter: Dave Gilbert <gilbertd+kde>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: UK IHT 400 form

Description Dave Gilbert 2023-04-01 14:47:45 UTC
Created attachment 157770 [details]
UK IHT 400 form

SUMMARY
In the UK form IHT 400 (included) there are many many tick boxes; most of them work fine, except 44 and 45, which instead change boxes 48a and 48b.

https://www.gov.uk/government/publications/inheritance-tax-inheritance-tax-account-iht400

STEPS TO REPRODUCE
1. Click on the No/Yes boxes for 44 or 45 on page 6

OBSERVED RESULT
The ticks appear in boxes 48a and 48b

EXPECTED RESULT
The ticks appear in the box you tick

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dave Gilbert 2023-04-02 00:02:37 UTC
This *might* be a form bug; it's pretty consistent across Okular, evince and Chromium.
(Chromium is slightly different, it gives the tick boxes a default of No which makes it easier to avoid)
Comment 2 Albert Astals Cid 2023-04-09 10:18:17 UTC
Given that this is what Adobe Reader does too, it's either a form bug or how it has to behave.

Closing the bug.
Comment 3 Dave Gilbert 2023-04-09 12:00:42 UTC
Yeh, not too sure what's going on here.  44 and 45 look like all the others to me in the raw PDF - although I can't say I fully understand the syntax yet;  they both have an '/Off' and '/Yes' in the /N and /D sections.
48a and 48b (objects 2416/2417) both do it differently with the buttons in children, and have 4 children, two 'No/Off' pairs and two 'Off/Yes' pairs - which doesn't make any sense to me since they only seem to have tow buttons each.