Bug 306818 - Okular cannot close instructions overlay in PDF
Summary: Okular cannot close instructions overlay in PDF
Status: REOPENED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.19.60
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: https://apps.nyhealth.gov/doh2/applin...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-15 03:40 UTC by James E. LaBarre
Modified: 2018-05-02 17:25 UTC (History)
5 users (show)

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


Attachments
The file (3.42 MB, application/pdf)
2018-04-30 22:06 UTC, Albert Astals Cid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James E. LaBarre 2012-09-15 03:40:49 UTC
at the website https://apps.nyhealth.gov/doh2/applinks/accessny/, download the "ACCESS NY Health Care Application" from the link in box #2.  The file is a "Fill & Print" PDF form, and opens with an overlay with instructions on using the fillable PDF.  In Acrobat reader, you click within the instrictions box, and it goes away.  In Okular, clicking on the box does nothing, and because you can't get it to go away, you can't fill out the form (the overlay actually shows up multiple places in the document, which it shouldnt).

Reproducible: Always

Steps to Reproduce:
1. open DOHAccessNyMainForm.pdf from link above
2. try to click on the instructions box to close it
Actual Results:  
 box/overlay will not close

Expected Results:  
box/overlay closes when clicked on
Comment 1 Albert Astals Cid 2012-09-15 17:46:28 UTC
Needs javascript support, don't see it happening soon
Comment 2 James E. LaBarre 2012-09-16 17:46:29 UTC
Understood, but a shame since Okular can save PDF form data, which Adobe's reader cannot.
Comment 3 James E. LaBarre 2013-07-09 20:05:17 UTC
Problem still exists in v0.15.5
Comment 4 Gilbie Rivas 2015-11-06 08:20:28 UTC
It's fantastic to see such a useful post. You touched on a topical issue. I would appreciate if you'd written about how to fill a form online. I've found PDFfiller - online service for forms filling. It's pretty easy to use and pretty cheap. You can find fillable Access NY Health Care here http://goo.gl/ih4cJE.
Comment 5 Andre Heinecke 2018-04-30 13:52:03 UTC
This sounds totally similar to the change in https://phabricator.kde.org/T8274 where the "veraeusserungsanzeige.pdf" linked in the issue also had such an overlay and removed it after clicking it.

I can't find the example here either through wayback machine or by googling after the name so I'm not 100% sure (the link no longer works). But I'm confident enough from the description to resolve this. Please reopen if you have an example where it does not work.
Comment 6 Albert Astals Cid 2018-04-30 22:05:39 UTC
No, still does not work.
Comment 7 Albert Astals Cid 2018-04-30 22:06:56 UTC
Created attachment 112333 [details]
The file
Comment 8 Andre Heinecke 2018-05-02 11:09:45 UTC
This example is extra fun...
Although it uses the Hide Actions, which we now support, the trigger is different and not yet supported.

The "Help" overlays are text edits with an actionMousePressed annotation. This is similar to Bug 307304 (where there are FocusIn / FocusOut) action triggers .
I've opened a Task for this, as I really think that it's important to handle these triggers in forms: https://phabricator.kde.org/T8627

But for added fun: The Text edits with the help text are Read Only (thats why they look so strange if you Show Forms). So we now have a use case to show Widgets for Read Only form fields, because they could have actions attached. :-/