You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attach (recommended) or Link to PDF file here: triggers.pdf
Configuration:
Web browser and its version: Firefox 126.0.1
Operating system and its version: Gentoo Linux
PDF.js version: 4.1.379
Is a browser extension: no
Steps to reproduce the problem:
Open the attached two-page PDF. On the second page, there is a pushbutton that, within its AA (AdditionalActions) dictionary, defines actions for the PageOpen/PageClose (/PO and /PC entries) and for the MouseDown/MouseUp (/D and /U entries) trigger events. As actions, appropriate debug messages are written into the browser console.
When scrolling forth and back to and from the page with the Widget Annotation, the expected debug messages PageOpen and PageClose should be printed into the console.
What is the expected behavior?
When scrolling forth and back in the 2-page document, corresponding debug messages should appear in the browser console.
What went wrong?
Nothing happens when scrolling between the document pages. Thus, PageOpen and PageClose do not trigger the associated actions. Only mouse interaction with the Widget Annotation is functional, MouseDown and MouseUp events are reacted upon and corresponding debug messages appear in the browser console.
The text was updated successfully, but these errors were encountered:
agrahn
changed the title
Widget Annotation: PageOpen and PageClose events are not reacted upon
Widget Annotation: PageOpen (/PO) and PageClose (/PC) events are not reacted upon
Jun 20, 2024
Attach (recommended) or Link to PDF file here: triggers.pdf
Configuration:
Steps to reproduce the problem:
AA
(AdditionalActions) dictionary, defines actions for thePageOpen
/PageClose
(/PO
and/PC
entries) and for theMouseDown
/MouseUp
(/D
and/U
entries) trigger events. As actions, appropriate debug messages are written into the browser console.PageOpen
andPageClose
should be printed into the console.What is the expected behavior?
When scrolling forth and back in the 2-page document, corresponding debug messages should appear in the browser console.
What went wrong?
Nothing happens when scrolling between the document pages. Thus,
PageOpen
andPageClose
do not trigger the associated actions. Only mouse interaction with the Widget Annotation is functional,MouseDown
andMouseUp
events are reacted upon and corresponding debug messages appear in the browser console.The text was updated successfully, but these errors were encountered: