Closed Bug 1636982 Opened 6 years ago Closed 6 years ago

Interleaving rotation and pinch gestures on macOS probably doesn't work properly with apz.allow_zooming enabled

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
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.

(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.

No longer blocks: 1636473
Depends on: 1636473
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/31a4d6dfb08f Restore old behaviour of disallowing interleaved rotate and magnify gestures on macOS. r=tnikkel
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: