A pdf can be too much zoomed with the wheel when ctrl is pressed outside of the viewer
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr102 | --- | unaffected |
| firefox109 | --- | unaffected |
| firefox110 | --- | verified |
| firefox111 | --- | verified |
People
(Reporter: calixte, Assigned: calixte)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
|
44 bytes,
text/x-github-pull-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
STR:
- open a pdf
- click outside Firefox to remove any focus
- press ctrl
- move the mouse on the viewer and play with the wheel.
The document is a way too much zoomed/unzoomed.
Updated•3 years ago
|
Comment 1•3 years ago
•
|
||
It seems to me that this might be quite easy to work-around, by simply using a "mouseleave" eventListener that forcibly sets PDFViewerApplication._isCtrlKeyDown = true.
Comment 2•3 years ago
|
||
Calixte, are you working on this regression for our releases in flight? Should we wontfix for 110? Thanks
Comment 3•3 years ago
|
||
I've got a WIP patch locally, along the lines in https://bugzilla.mozilla.org/show_bug.cgi?id=1810800#c1 since that seemed to work, so I could "steal" this bug and submit a patch :-)
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 4•3 years ago
|
||
Comment 5•3 years ago
|
||
Calixte, are you planning an uplift for beta or should your fix ride the 111 train? Thanks.
| Assignee | ||
Comment 6•3 years ago
|
||
| Assignee | ||
Comment 7•3 years ago
|
||
Comment on attachment 9314875 [details]
Bug 1810800 - Fix zooming with the mouse wheel in PDF.js r=#pdfjs-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: The users could be annoyed when they want to zoom a pdf in using ctrl+mouse wheel.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See https://bugzilla.mozilla.org/show_bug.cgi?id=1810800#c0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a small change and it can be easily verified by QE.
- String changes made/needed:
- Is Android affected?: No
| Assignee | ||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Comment on attachment 9314875 [details]
Bug 1810800 - Fix zooming with the mouse wheel in PDF.js r=#pdfjs-reviewers
Approved for 110 beta 8, thanks.
Comment 9•3 years ago
|
||
| bugherder uplift | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Reproduced the issue on Firefox 110.0b7 under Windows 11 by following the STR from Comment 0.
The issue is no longer reproducible on Firefox 111.0a1 (2023-01-30) and Firefox 110.0b8 (treeherder build) on the same system. Seems that Ubuntu and macOS only scrolls the PDF when holding ctrl with focus outside Firefox.
Description
•