Closed
Bug 1392361
Opened 8 years ago
Closed 5 years ago
OS X trackpad pinch gesture (or ctrl+two-finger-pan) on PDF changes zoom like crazy
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
People
(Reporter: kats, Assigned: kats)
References
Details
(Keywords: regression)
Load any PDF, e.g. https://www.library.yorku.ca/spark/books_journals_more/PARCA%20Test_Final.pdf on a macbook, and use a "pinch" gesture on the trackpad.
Expected: PDF zooms in or out gradually
Actual: PDF zooms in or out very much, quickly jumping to 1000% or down to 25%
I can repro on release, Beta and Nightly.
| Assignee | ||
Comment 1•8 years ago
|
||
I'm running mozregression to find out when this happened.
Keywords: regression
Comment 2•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #0)
> ... and use a "pinch" gesture on the trackpad.
By default, locally I can only zoom in/out a web page or PDF using Cmd+two-finger-scroll, and not using pinch. Can you provide more details how to setup "pinch" gesture on the trackpad and Firefox?
| Assignee | ||
Comment 3•8 years ago
|
||
Regression window is this:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=1944785ec6254237f1425dc35f873951c7716d39&tochange=134875c28871d8c8f2538c4cb1507f2e37b0713e
Prior to this bug, the pinch action had no effect at all. After this bug, the pinch effect controls zooming but is far too sensitive to small pinch gestures.
| Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Yury Delendik (:yury) from comment #2)
> By default, locally I can only zoom in/out a web page or PDF using
> Cmd+two-finger-scroll, and not using pinch. Can you provide more details how
> to setup "pinch" gesture on the trackpad and Firefox?
There's really nothing I did in Firefox itself to set this up. It happens on a clean profile for me. Maybe OS X settings? Try checking if the "Zoom in or out" option in OS X settings -> Trackpad -> Scroll & Zoom is enabled.
Comment 5•8 years ago
|
||
macOS trackpad scrolling while pressing Ctrl is also very sensitive on pdf.js. So this was a pre-existing issue in the way pdf.js handles zoom wheel events, it's just exposed in a different way now.
Comment 6•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #4)
> (In reply to Yury Delendik (:yury) from comment #2)
> > By default, locally I can only zoom in/out a web page or PDF using
> > Cmd+two-finger-scroll, and not using pinch. Can you provide more details how
> > to setup "pinch" gesture on the trackpad and Firefox?
>
> There's really nothing I did in Firefox itself to set this up. It happens on
> a clean profile for me. Maybe OS X settings? Try checking if the "Zoom in or
> out" option in OS X settings -> Trackpad -> Scroll & Zoom is enabled.
Nope. "Zoom in and out - Pinch with two finger" is enabled for me in the settings, but no such gesture in FF.
| Assignee | ||
Comment 7•8 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #5)
> macOS trackpad scrolling while pressing Ctrl is also very sensitive on
> pdf.js. So this was a pre-existing issue in the way pdf.js handles zoom
> wheel events, it's just exposed in a different way now.
Good point, I also see this behaviour. It's just easier to hit now I guess, because the pinch gesture is more natural (at least for me) to use. I filed https://github.com/mozilla/pdf.js/issues/8802 for it.
| Assignee | ||
Updated•8 years ago
|
See Also: → https://github.com/mozilla/pdf.js/issues/8802
| Assignee | ||
Updated•8 years ago
|
Summary: OS X trackpad pinch gesture on PDF changes zoom like crazy → OS X trackpad pinch gesture (or ctrl+two-finger-pan) on PDF changes zoom like crazy
Updated•8 years ago
|
Updated•8 years ago
|
Priority: -- → P3
Updated•8 years ago
|
| Assignee | ||
Comment 9•5 years ago
|
||
PR to fix: https://github.com/mozilla/pdf.js/pull/12203
Assignee: nobody → kats
| Assignee | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Updated•5 years ago
|
status-firefox79:
--- → wontfix
status-firefox80:
--- → wontfix
status-firefox-esr68:
--- → wontfix
status-firefox-esr78:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•