Web browser and its version: Firefox 126.0.1 (64-bit)
Operating system and its version: Gentoo Linux
PDF.js version: 4.1.379
Is a browser extension:
Steps to reproduce the problem:
Open the attached PDF in the browser and click into the rectangle
The rectangle contains a pushbutton with a JavaScript action. The JavaScript tries to retrieve the normal (not rollover or down) appearance of another, hidden pushbutton, using buttonGetIcon(), and then to set the normal appearance of the clicked pushbutton using buttonSetIcon(...). However, the clicked pushbutton does not display anything. For debugging purposes, the value returned from buttonGetIcon() is printed to the console which is null.
What is the expected behavior? (Acrobat Reader)
What went wrong ? (Firefox/pdf.js)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Attach (recommended) or Link to PDF file here:
buttonGetIcon.pdf
Configuration:
4.1.379
Steps to reproduce the problem:
buttonGetIcon()
, and then to set the normal appearance of the clicked pushbutton usingbuttonSetIcon(...)
. However, the clicked pushbutton does not display anything. For debugging purposes, the value returned frombuttonGetIcon()
is printed to the console which isnull
.What is the expected behavior? (Acrobat Reader)
What went wrong ? (Firefox/
pdf.js
)Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):