Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 04c9996631af5c368a978647c3e6d8bf6a752a92
https://github.com/WebKit/WebKit/commit/04c9996631af5c368a978647c3e6d8bf6a752a92
Author: Richard Robinson <[email protected]>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M Source/WebKit/UIProcess/mac/WKAppKitGestureController.mm
M Source/WebKit/UIProcess/mac/WebViewImpl.h
M Source/WebKit/UIProcess/mac/WebViewImpl.mm
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift
Log Message:
-----------
[AppKit Gestures] REGRESSION(309295@main) Clicking on a selection results in
the selection disappearing
https://bugs.webkit.org/show_bug.cgi?id=313949
rdar://176117750
Reviewed by Abrar Rahman Protyasha.
Don't let the gestures that may simultaneously recognize with the text
selection gestures ever begin if
the click location is within a selection.
Test: Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift
* Source/WebKit/UIProcess/mac/WKAppKitGestureController.mm:
(-[WKAppKitGestureController gestureRecognizerShouldBegin:]):
* Source/WebKit/UIProcess/mac/WebViewImpl.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::isTextSelectedAtPoint):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift:
Canonical link: https://commits.webkit.org/312545@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications