Bug 503273 - [Forms] check mark not shown in checkbox
Summary: [Forms] check mark not shown in checkbox
Status: RESOLVED DOWNSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: 25.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 09:48 UTC by Andrea Ippolito
Modified: 2025-08-11 19:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
clock-wise: check visible if document is in Show Forms mode, check visible if document is saved and opened in chromium, check invisible if document is NOT in Show Forms mode (675.13 KB, image/png)
2025-04-24 09:48 UTC, Andrea Ippolito
Details
attachment-1199701-0.html (1.93 KB, text/html)
2025-08-08 03:21 UTC, mph
Details
check marks visible while in form filling mode (138.91 KB, image/png)
2025-08-10 09:43 UTC, Andrea Ippolito
Details
check marks no longer visible when no longer in form filling mode (119.23 KB, image/png)
2025-08-10 09:44 UTC, Andrea Ippolito
Details
check marks still visible when no longer in form filling mode (using okular flatpak) (118.59 KB, image/png)
2025-08-10 09:47 UTC, Andrea Ippolito
Details
attachment-1872710-0.html (1.58 KB, text/html)
2025-08-11 14:20 UTC, mph
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Ippolito 2025-04-24 09:48:08 UTC
Created attachment 180603 [details]
clock-wise: check visible if document is in Show Forms mode, check visible if document is saved and opened in chromium, check invisible if document is NOT in Show Forms mode

Download this PDF and open it:

https://www.formulaires.service-public.fr/gf/cerfa_15763.do

Click on the Show Forms button, then check any checkbox in the form.

Click on the Show Forms button again to exit form editing mode.

Expected: the checkbox appears checked
Actual: the checkbox appears unchecked
Notice that actually it IS checked, as you can easily verify by saving the changes to the file and opening it again with chromium, Xournal++, etc. It's just not displayed in the correct state by Okular.
Reopening the file in Okular also still shows the box unchecked, unless you enable Show Forms once again, at which point you'll see the check.
Comment 1 mph 2025-08-07 03:52:34 UTC
I'm seeing the same error occur with version 22.12.3, running on Debian Stable (Bookworm)
Comment 2 Albert Astals Cid 2025-08-07 23:14:43 UTC
Works fine for me, which poppler version are you using?
Comment 3 mph 2025-08-08 03:21:58 UTC
Created attachment 183874 [details]
attachment-1199701-0.html

When I go to 'About PDF Backend' it says: Using Poppler 22.12.0

What I'm specifically noticing is that if I click the 'Show Forms' button,
the text boxes and check boxes turn black inside. I can type characters and
click to get a checkmark respectively, but if I print preview or print, the
entered characters from the text box appear, but the check mark doesn't.

On Thu, Aug 7, 2025 at 4:14 PM Albert Astals Cid <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=503273
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |aacid@kde.org
>              Status|REPORTED                    |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #2 from Albert Astals Cid <aacid@kde.org> ---
> Works fine for me, which poppler version are you using?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 4 Albert Astals Cid 2025-08-09 10:11:07 UTC
For some reason you have a modern Okular with an old poppler, complain to your distribution, meanwhile you may want to test https://github.com/flathub/org.kde.okular and confirm the bug is fixed there.
Comment 5 Andrea Ippolito 2025-08-10 09:43:05 UTC
Hi, OP here.
I'm still seeing this issue although my distro (tumbleweed) is providing libpoppler 25.08.0

The mark in the checkbox is only visible while forms are shown, yet disappears as soon as I exit the form filling mode.

See screenshots attached.

This is with Okular 25.04.3
Comment 6 Andrea Ippolito 2025-08-10 09:43:40 UTC
Created attachment 183923 [details]
check marks visible while in form filling mode
Comment 7 Andrea Ippolito 2025-08-10 09:44:17 UTC
Created attachment 183924 [details]
check marks no longer visible when no longer in form filling mode
Comment 8 Andrea Ippolito 2025-08-10 09:46:54 UTC
OMG it works with Okular flatpak indeed.

About backend also shows just one version of libpoppler, without the "build against" thingy that I get in the rpm version of the package.

I guess I'll report this to the opensuse team.
Comment 9 Andrea Ippolito 2025-08-10 09:47:42 UTC
Created attachment 183925 [details]
check marks still visible when no longer in form filling mode (using okular flatpak)
Comment 10 Andrea Ippolito 2025-08-10 14:34:53 UTC
Works fine in Neon: neon-user-20250803-0744.iso
Comment 11 Andrea Ippolito 2025-08-10 14:43:30 UTC
Archeo-bug found here (16 years old!): https://okular-devel.kde.narkive.com/CsL2v1HE/bug-184489-new-checkboxes-in-pdf-forms-not-displayed-if-checked
Comment 12 Albert Astals Cid 2025-08-10 22:23:23 UTC
Closing the bug since it's a distribution bug.
Comment 13 mph 2025-08-11 14:20:23 UTC
Created attachment 183952 [details]
attachment-1872710-0.html

What version of libpopple fixes this? I just updated my Debian to 13
yesterday with the Trixie release hoping it would catch up, but it installs
libpoppler 25.03.0 (with Okular 25.04.2). My wife who uses Windows also
sees this behavior on the version she installed form the Microsoft store.
I'm assuming I'll have to find a different installation method for her.

On Sun, Aug 10, 2025 at 5:23 PM Albert Astals Cid <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=503273
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|NEEDSINFO                   |RESOLVED
>          Resolution|WAITINGFORINFO              |DOWNSTREAM
>
> --- Comment #12 from Albert Astals Cid <aacid@kde.org> ---
> Closing the bug since it's a distribution bug.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 14 Sune Vuorela 2025-08-11 14:22:48 UTC
(In reply to mph from comment #13)

> What version of libpopple fixes this? I just updated my Debian to 13

It is probably https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1732 which was in 25.05
Comment 15 Albert Astals Cid 2025-08-11 19:58:44 UTC
Reading the comments it doesn-t seem poppler is the issue, there's people using 25.08 and having it working and other people also using 25.08 and not having it working.

Seems more a font configuration issue probably