<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: Gesture Recognition during text editing is often blocked by WKContentView gesture recognition"
href="https://bugs.webkit.org/show_bug.cgi?id=150747">150747</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>AX: Gesture Recognition during text editing is often blocked by WKContentView gesture recognition
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>iOS
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 9.0
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Accessibility
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>onedge.disabler@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>- During setup of text editing state the WKContentView's gesture recognizers are not properly configured with dependencies to gesture recognizers of UIWKTextInteractionAssistant.
- Area of recognition of WKContentView's gesture recognizers includes area of edited field as before editing.
This leads to next issues:
- When right after focusing text field perform a double-click on it's text, impossible to show loupe/menu on the cursor/move the cursor. To restore proper editing behavior, another text field should be focused.
- Races occur between WKContentView's long-press gesture recognizers and UIWKTextInteractionAssistant's loupe long press gesture recognizer. Often one of WKContentView's long-press recognizers catches touches prior to loupe recognizer.
Solution could be as follows:
WKContentView should reject for recognizers listed below touches which hit area of edited text field during it's editing, in (gestureRecognizer:shouldRecieveTouch:) delegate callback:
_highlightLongPressGestureRecognizer
_longPressGestureRecognizer
_doubleTapGestureRecognizer
_twoFingerDoubleTapGestureRecognizer</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>