Can't zoom Bing Maps using trackpad scroll gesture with apz.windows.use_direct_manipulation = true
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | disabled |
firefox78 | --- | disabled |
firefox79 | --- | disabled |
firefox80 | --- | fixed |
People
(Reporter: cpeterson, Assigned: tnikkel)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(1 file)
Steps to reproduce
- Load https://www.bing.com/maps/.
- Try to zoom the map in or out using trackpad scroll gesture.
Expected result
The map should zoom in and out.
Actual result
The map doesn't zoom with the trackpad scroll gesture, but I can zoom the map using a pinch gesture on my laptop's touchscreen or clicking the maps' +/- buttons.
I'm using Windows 10. I haven't tested any other platform. Note that I can't reproduce this problem in a clean profile, only my regular profile. To bisect this problem, I had to clone my regular profile in mozregression.
I don't know if this Bing Maps problem is related, but I've had intermittent problems for months where Nightly would stop responding to my trackpad scroll gestures entirely, in all tabs. I wouldn't be able to scroll web pages using my trackpad. I would have to click and drag the scrollbar or navigate using cursor keys. I didn't have good STR and the problem would usually go away after a minute or so.
Reporter | ||
Comment 1•4 years ago
|
||
@ tnikkel, I think this bug is a regression from your changes for direct manipulation bug 1630912 in Firefox 78. Looks like I had manually set the apz.windows.use_direct_manipulation
pref = true a few months ago. I can make the zoom problem go away by toggling apz.windows.use_direct_manipulation
in a clean profile.
I bisected this bug to the following pushlog:
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Thanks for the report and for bisecting and testing with the flipped pref!
Assignee | ||
Comment 3•4 years ago
|
||
Similar observations as bug 1644952 comment 2. Looks like dmanip scroll gestures don't send DOMMouseScroll events.
Assignee | ||
Comment 4•4 years ago
|
||
The macOS widget code puts something in the PanGestureInput::mLineOrPageDeltaY here
but we have nothing for d manip doing the same. So in EventStateManager::DispatchLegacyMouseScrollEvents the scrollDeltaY is always 0 and we never dispatch a DOMMouseScroll event.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
This basically just copies what the macOS widget code does starting here
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd88950d6cec Populate PanGestureInput::mLineOrPageDeltaX/Y when the events are produced from direct manipulation. r=kats
Comment 8•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•