PDF in viewer fuzzy after resuming from suspend after attaching HiDPI monitor
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: pmenzel+bugzilla.mozilla.org, Assigned: Snuffleupagus)
References
Details
(Whiteboard: [pdfjs-regression])
Attachments
(2 files)
Steps to reproduce:
Using Nightly 105.0a1, 20220814095107, having a PDF open in a viewer on a 1366x768 laptop system, suspend the system, attach a HiDPI monitor, and resume.
Actual results:
The font of the PDF was fuzzy.
Expected results:
The font of the PDF should be sharp. Reloading the page, the screen is sharp.
Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•2 years ago
|
||
We could redraw the current pages when the devicePixelRatio
is changing.
window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`).addEventListener("change", ....)
@Snuffleupagus, wdyt ?
Comment 4•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Paul, can you still reproduce this bug in latest Nightly?
Reporter | ||
Comment 6•2 years ago
|
||
(In reply to Marco Castelluccio [:marco] (back Aug 22) from comment #5)
Paul, can you still reproduce this bug in latest Nightly?
No, the problem seems to be fixed in 105.0a1, 20220821185924.
Thank you all for fixing the issue so quickly.
Comment 7•2 years ago
|
||
Thank you for reporting the bug and verifying the fix!
Description
•