Changeset 176678 in webkit
- Timestamp:
- Dec 2, 2014, 11:34:27 AM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/mac/WKView.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r176670 r176678 1 2014-12-02 Tim Horton <timothy_horton@apple.com> 2 3 TextIndicator can get stuck (especially if we don't get LUNotificationPopoverWillClose when we should) 4 https://bugs.webkit.org/show_bug.cgi?id=139175 5 <rdar://problem/19072236> 6 7 Reviewed by Beth Dakin. 8 9 * UIProcess/API/mac/WKView.mm: 10 (-[WKView scrollWheel:]): 11 (-[WKView mouseDown:]): 12 Work around <rdar://problem/19086993> by always explicitly clearing the 13 active text indicator in mouseDown: and scrollWheel:. 14 This way, even if you manage to get a text indicator that outlives the 15 Look Up popover (or find-in-page, or whatever), it will be dismissed 16 by clicking or scrolling the view. 17 1 18 2014-12-02 Anders Carlsson <andersca@apple.com> 2 19 -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r176613 r176678 1210 1210 return; 1211 1211 1212 // Work around <rdar://problem/19086993> by always clearing the active text indicator on scroll. 1213 [self _setTextIndicator:nullptr fadeOut:NO]; 1214 1212 1215 if (_data->_allowsBackForwardNavigationGestures) { 1213 1216 [self _ensureGestureController]; … … 1257 1260 [self _setMouseDownEvent:event]; 1258 1261 _data->_ignoringMouseDraggedEvents = NO; 1262 1263 // Work around <rdar://problem/19086993> by always clearing the active text indicator on mouseDown. 1264 [self _setTextIndicator:nullptr fadeOut:NO]; 1259 1265 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 1260 1266 [_data->_actionMenuController wkView:self willHandleMouseDown:event];
Note:
See TracChangeset
for help on using the changeset viewer.