Interleaving rotation and pinch gestures on macOS probably doesn't work properly with apz.allow_zooming enabled
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
So there's a comment here that implies the macOS widget should lock into either rotate or magnify gestures when the OS sends us interleaved events. This machinery involves setting the mGestureState variable properly, which doesn't happen in the apz_allow_zooming branch of magnifyWithEvent here. So I suspect that if you turn on apz.allow_zooming and do a trackpad gesture that's pinch+rotation, the content will get both effects instead of just one.
However, the rotation implementation is currently broken, and has been since e10s happened (see bug 1108553) so I couldn't actually test this theory. Also, as long as rotation remains broken, this doesn't matter. However, the changes I'm making for bug 1636473 make it harder to fix this problem (by deleting relevant code), so I'd rather fix it before making my changes for bug 1636473.
| Assignee | ||
Comment 1•6 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #0)
so I'd rather fix it before making my changes for bug 1636473.
Actually building the patches in that order turns out to be pretty involved. It's simpler to just fix this after.
| Assignee | ||
Comment 2•6 years ago
|
||
Depends on D74640
Comment 4•6 years ago
|
||
| bugherder | ||
Description
•