Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3be1a108aeeed88fa7b0c4e006783ff25fb761ba
https://github.com/WebKit/WebKit/commit/3be1a108aeeed88fa7b0c4e006783ff25fb761ba
Author: Richard Robinson <[email protected]>
Date: 2026-09-25 (Fri, 25 Sep 2026)
Changed paths:
M Source/WebKit/Platform/spi/mac/AppKitSPI.h
M Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm
Log Message:
-----------
[AppKit Gestures] The `pressDragOverOrbitModelCausesRotation` test and
several other tests fail
https://bugs.webkit.org/show_bug.cgi?id=325313
rdar://188364237
Reviewed by Abrar Rahman Protyasha.
After rdar://188336453, NSPanGestureRecognizer updates its location before
transitioning to .began,
so -locationInView: now returns the current position rather than where a pan
started, and the pan
stops yielding to sliders and models when we look for the location in
-gestureRecognizerShouldBegin.
We instead adopt -_startLocationInView:, which returns what we were originally
reading from -locationInView:.
* Source/WebKit/Platform/spi/mac/AppKitSPI.h:
* Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm:
(startLocationInView):
(-[WKAppKitGestureController gestureRecognizerShouldBegin:]):
Canonical link: https://commits.webkit.org/321940@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications