Bug 184489 - Checkboxes in pdf forms not displayed if checked
Summary: Checkboxes in pdf forms not displayed if checked
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.8
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 05:02 UTC by Karthik Periagaram
Modified: 2012-03-09 02:31 UTC (History)
4 users (show)

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


Attachments
Screenshots documenting the bug (60.07 KB, application/pdf)
2009-02-16 19:06 UTC, Karthik Periagaram
Details
Another pdf file having forms (342.33 KB, application/pdf)
2011-12-20 20:33 UTC, Gökçen Eraslan
Details
Snapshot of rendering problems (137.41 KB, image/png)
2011-12-20 21:48 UTC, Gökçen Eraslan
Details
Second file (217.86 KB, image/png)
2011-12-20 21:50 UTC, Gökçen Eraslan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karthik Periagaram 2009-02-16 05:02:43 UTC
Version:           0.8 (using KDE 4.2.0)
OS:                Linux
Installed from:    Unspecified Linux

Steps to reproduce bug:

1) Download pdf file below. It has forms. Click [Show Forms] to display the forms.
2) Check any checkbox in the form. I used the box marked 'Checking' in Line 12
3) Click [Hide Forms] Or Print to PDF and open the new printed pdf. The checkmark is not seen.
4) Open the printout with gs. The checkmark is indeed present. Just not shown.

The form I encountered this error with is the tax form (1040) for this year. I opened my previous returns and found the same error. Here's a link to the form: http://www.irs.gov/pub/irs-pdf/f1040ez.pdf

If you need more information, I'd be glad to help.
Comment 1 Pino Toscano 2009-02-16 13:29:02 UTC
If I check a checkbox, after a second the page gets refreshed and the checkmark appears.
Also, if I print to PDF, in the resulting document I see the checkbox actually checked (even if in a "curious" way -- but that's unrelated).

Which Poppler version do you have?
It works here with both 0.8.7, and with the development version.
Comment 2 Karthik Periagaram 2009-02-16 14:41:44 UTC
I have poppler 0.10.2 (Arch linux packages). Perhaps it's a regression upstream?

I can see the checkbox and the check mark when I [Show Forms] in okular. It's when I tell it to [Hide Forms] to see the filled out form, that the checkbox appears unchecked (both in the original document and the version printed to pdf) although gs confirms that the change itself isn't lost...

I'll check to see if it prints out that way at work today. If you can't reproduce it, I'll prep some screenshots later today.

On a side note, this is the first year that I could do all my tax forms purely in linux (get the forms, fill 'em out, save me a copy of the final pdf with my data filled in - I used to have to use adobe pro on a windows machine for that last step). That's awesome! Good job, all ye who are responsible for making okular rock so much! :)
Comment 3 Karthik Periagaram 2009-02-16 19:06:47 UTC
Created attachment 31370 [details]
Screenshots documenting the bug

A couple of new points:
- One, When printed to an external printer, the checkmarks appear fine.
- The attachment documents the bug at different stages.
Comment 4 Gabi Sarkis 2011-02-23 16:20:03 UTC
Same problem with Okular 4.6.0 and Poppler 0.14.5 on Gentoo 64-bit.
Comment 5 jordonwii 2011-12-20 17:19:21 UTC
Per Myriam, this is a bug in Poppler and is upstream. I'm also unable to reproduce the issue in Okular 0.13.3 on KDE 4.7.1.
Comment 6 Albert Astals Cid 2011-12-20 19:14:50 UTC
The problem Is present in KDE 4.7.1, it only triggers if you do not have the document scrolled to the top though, i fixed that for KDE 4.7.4 and KDE 4.8.0
Comment 7 Gökçen Eraslan 2011-12-20 20:33:05 UTC
Created attachment 66955 [details]
Another pdf file having forms

I have KDE 4.6 now, can somebody please try the attached document also? I see various form rendering problems.
Comment 8 Albert Astals Cid 2011-12-20 21:13:57 UTC
Can you please describe the problems you have?
Comment 9 Gökçen Eraslan 2011-12-20 21:48:53 UTC
Created attachment 66959 [details]
Snapshot of rendering problems

Here is the screenshot of the rendering glitches.
Comment 10 Gökçen Eraslan 2011-12-20 21:50:40 UTC
Created attachment 66960 [details]
Second file

This might be the same issue that is fixed in 4.7.4 but I just wanted to be sure. I use KDE 4.6.5 and poppler 0.16.6 by the way.
Comment 11 Albert Astals Cid 2011-12-20 22:02:07 UTC
If in screenshot #1 you mean that the forms are a bit too hight, no that's not fixed, and that is a different issue, open a new bug.

If in screenshot #2 you mean that when scrolling you get kind of duplicated radio boxes, yes that is fixed
Comment 12 cxcxcxcx 2012-03-09 00:46:22 UTC
No this is not fixed, even in Okular 0.14.0 on KDE 4.8.0. When "show forms", I can check a checkbox. However, after "hide forms", the tick goes away...

The PDF file causing this bug is still available at:
http://www.irs.gov/pub/irs-pdf/f1040ez.pdf
Comment 13 Karthik Periagaram 2012-03-09 01:58:51 UTC
(In reply to comment #12)
> No this is not fixed, even in Okular 0.14.0 on KDE 4.8.0. When "show forms",
> I can check a checkbox. However, after "hide forms", the tick goes away...
> 
> The PDF file causing this bug is still available at:
> http://www.irs.gov/pub/irs-pdf/f1040ez.pdf

I'm on okular 0.14.1 on kde 4.8.1 on archlinux and I do NOT see this happening. This bug appears to be fixed. I did my taxes in February and okular worked perfectly fine even back then. My poppler{,-qt} versionIt is 0.18.3, if it helps.
Comment 14 cxcxcxcx 2012-03-09 02:31:59 UTC
(In reply to comment #13)
> I'm on okular 0.14.1 on kde 4.8.1 on archlinux and I do NOT see this
> happening. This bug appears to be fixed. I did my taxes in February and
> okular worked perfectly fine even back then. My poppler{,-qt} versionIt is
> 0.18.3, if it helps.

Weird enough, I'm also using KDE 4.8.1 on Archlinux now and I am suffering from the problem...