Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3e7cf977916c7038f0e097060db0c6660f8e0c40
https://github.com/WebKit/WebKit/commit/3e7cf977916c7038f0e097060db0c6660f8e0c40
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/WebKit/Platform/spi/mac/AppKitSPI.h
M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm
M Source/WebKit/UIProcess/mac/WKAppKitGestureController.h
M Source/WebKit/UIProcess/mac/WKAppKitGestureController.mm
M Source/WebKit/UIProcess/mac/WebViewImpl.h
Log Message:
-----------
[AppKit Gestures] Gesture-driven clicks should support deferred click handling
https://bugs.webkit.org/show_bug.cgi?id=308171
rdar://170672334
Reviewed by Wenson Hsieh and Richard Robinson.
Use NSPressGestureRecognizer state transitions to defer click dispatch
until the WebProcess confirms the interaction. This allows the gesture
controller to coordinate with the page before committing a click.
The flow is:
1. Press .began -> potentialClickAtPosition (captures transaction ID,
generates click ID)
2. Press .ended -> commitPotentialClick (validates state, triggers
synthetic click)
3. Press .cancelled/.failed -> cancelPotentialClick (resets state)
Canonical link: https://commits.webkit.org/307810@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications