Bug 458062

Summary: checkbox, chek mark not recorded in the document
Product: [Applications] okular Reporter: Philippe ROUBACH <philippe.roubach>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid
Priority: NOR    
Version: 22.04.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: a document with forms
the fonts of the document
a better capture of the fonts

Description Philippe ROUBACH 2022-08-19 11:21:16 UTC
Created attachment 151430 [details]
a document with forms

SUMMARY

the check mark is recorded in the form and not recorded in the document.


STEPS TO REPRODUCE
1. open a pdf with forms
2. click on a checkbox
3. a check mark is written
4 record and close the document
5 open the document
the checkbox is empty, no check mark
6 activate the forms
there is a check mark in the checkbox

No problem with text box

OBSERVED RESULT

when opening a document the check mark does not appears in the checkbox

EXPECTED RESULT

when opening a document the check mark appears in the checkbox

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
KDE GEARS 22.04.3
.
ADDITIONAL INFORMATION

open the modified and recorded document with LibreOffice Draw
the check mark does not appears in the checkbox
Comment 1 Albert Astals Cid 2022-08-21 10:27:40 UTC
Get yourself a new poppler version and it will work.

If you can't get opensuse to do that you can always try the flathub version of okular.
Comment 2 Philippe ROUBACH 2022-08-21 10:41:29 UTC
ok thanks
Comment 3 Philippe ROUBACH 2022-08-21 10:46:15 UTC
In openSUSE Tumbleweed the version of poppler is 22.08.0 and poppler data 0.4.11
Comment 4 Philippe ROUBACH 2022-08-21 10:49:58 UTC
I see here

https://gitlab.freedesktop.org/poppler/poppler/-/tags

That last version is 22.08.0.

Are you sure this is fixed with 22.08.0 ?
Comment 5 Albert Astals Cid 2022-08-21 16:21:42 UTC
Pretty sure yes.

https://i.imgur.com/995cUqQ.gif
Comment 6 Albert Astals Cid 2022-08-21 16:23:20 UTC
I guess the issue is that your fontconfig is broken and you don't get a proper substitution for the ZapfDingbats font.

Can you attach a screenshot of file->properties->fonts after opening the saved file?
Comment 7 Philippe ROUBACH 2022-08-21 16:42:04 UTC
I sent a bug report to openSUSE
https://bugzilla.opensuse.org/show_bug.cgi?id=1202588

I confirm with okular from flathub there is no problem.

I re-install okular then I answer to your question.
Comment 8 Philippe ROUBACH 2022-08-21 16:50:16 UTC
Created attachment 151481 [details]
the fonts of the document
Comment 9 Philippe ROUBACH 2022-08-21 16:52:42 UTC
Created attachment 151482 [details]
a better capture of the fonts
Comment 10 Albert Astals Cid 2022-08-21 17:22:03 UTC
Roboto Regular is a terrible ZapfDingbats font replacements, fix your fonts configuration in your system, not much we can do here.
Comment 11 Philippe ROUBACH 2022-08-21 17:37:36 UTC
OK what font to use for replacement ?
Comment 12 Albert Astals Cid 2022-08-21 17:43:16 UTC
(In reply to Philippe ROUBACH from comment #11)
> OK what font to use for replacement ?

One that implements a proper replacement for ZapfDingbats, there's many, givne that the flathub version works for you, you can at least one valid replacement there.