[Bug]: PDF completely black after computer idling overnight.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 53.9k
- Forks
- 10.7k
- Avg merge
- 18h 38m
- Merged PRs (30d)
- 130
Description
Attach (recommended) or Link to PDF file
Left the PDF open overnight with Windows on the lock screen, and woke up to find it completely blacked out. Changing the zoom seems to reset the rendering, which gets around the issue.
Web browser and its version
Firefox 149.0
Operating system and its version
Windows 11 25H2 (OS Build 26200.8037)
PDF.js version
Whichever is bundled with the Firefox version mentioned above
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Leave the PDF open overnight in Firefox 149 on Windows, with the screen locked? Not exactly sure yet.
What is the expected behavior?
PDF not black out.
What went wrong?
Already shown above.
Link to a viewer
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached about_support.txt and attempt the reported scenario in Firefox 149 on Windows 11: leave a PDF open overnight while the screen is locked, then check whether it renders black and whether changing zoom restores it. The issue is ready when the idle-related reproduction is reliable and the PDF remains visible afterward, with the result verified against the latest PDF.js version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100