⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176736 in webkit


Ignore:
Timestamp:
Dec 3, 2014, 12:13:02 PM (12 years ago)
Author:
dburkart@apple.com
Message:

Merged r176678. rdar://problems/19072236

Location:
branches/safari-600.3-branch/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-600.3-branch/Source/WebKit2/ChangeLog

    r176679 r176736  
     12014-12-03  Dana Burkart  <dburkart@apple.com>
     2
     3        Merge r176678. <rdar://problem/19072236>
     4
     5    2014-12-02  Tim Horton  <timothy_horton@apple.com>
     6
     7            TextIndicator can get stuck (especially if we don't get LUNotificationPopoverWillClose when we should)
     8            https://bugs.webkit.org/show_bug.cgi?id=139175
     9            <rdar://problem/19072236>
     10
     11            Reviewed by Beth Dakin.
     12
     13            * UIProcess/API/mac/WKView.mm:
     14            (-[WKView scrollWheel:]):
     15            (-[WKView mouseDown:]):
     16            Work around <rdar://problem/19086993> by always explicitly clearing the
     17            active text indicator in mouseDown: and scrollWheel:.
     18            This way, even if you manage to get a text indicator that outlives the
     19            Look Up popover (or find-in-page, or whatever), it will be dismissed
     20            by clicking or scrolling the view.
     21
     22
    1232014-12-02  Dana Burkart  <dburkart@apple.com>
    224
  • branches/safari-600.3-branch/Source/WebKit2/UIProcess/API/mac/WKView.mm

    r176666 r176736  
    12101210        return;
    12111211
     1212    // Work around <rdar://problem/19086993> by always clearing the active text indicator on scroll.
     1213    [self _setTextIndicator:nullptr fadeOut:NO];
     1214
    12121215    if (_data->_allowsBackForwardNavigationGestures) {
    12131216        [self _ensureGestureController];
     
    12571260    [self _setMouseDownEvent:event];
    12581261    _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];
    12591265#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
    12601266    [_data->_actionMenuController wkView:self willHandleMouseDown:event];
Note: See TracChangeset for help on using the changeset viewer.