Changeset 139667 in webkit
- Timestamp:
- Jan 14, 2013 2:41:09 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/ChangeLog
r139629 r139667 1 2013-01-14 Otto Derek Cheung <otcheung@rim.com> 2 3 [BlackBerry] FCC appears when switching search engine providers 4 https://bugs.webkit.org/show_bug.cgi?id=106824 5 6 Magnifying glass appears when switching search engine providers 7 8 PR 279178 9 10 Reviewed by Rob Buis. 11 Internal Reviewed by Mike Fenton. 12 13 We need to make sure fatfinger is touching a textfield when we tell notifyCaretChanged 14 to show the FCC. 15 16 This behaviour is accidentally regressed in the fix in PR 267177, causing the FCC to show 17 when the user touches an element that is not a textfield and changes the caret in the inputbar.. 18 19 Tested that the behaviour in 267177 isn't reproducible and the FCC isn't invoked when we switch 20 search engine providers. 21 22 * WebKitSupport/SelectionHandler.cpp: 23 (BlackBerry::WebKit::SelectionHandler::caretPositionChanged): 24 1 25 2013-01-14 Jacky Jiang <zhajiang@rim.com> 2 26 -
trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp
r139295 r139667 1029 1029 SelectionLog(Platform::LogLevelInfo, "SelectionHandler::caretPositionChanged"); 1030 1030 1031 bool isFatFingerOnTextField = userTouchTriggered && m_webPage->m_touchEventHandler->lastFatFingersResult().isTextInput(); 1032 1031 1033 WebCore::IntRect caretLocation; 1032 1034 // If the input field is not active, we must be turning off the caret. … … 1034 1036 m_caretActive = false; 1035 1037 // Send an empty caret change to turn off the caret. 1036 m_webPage->m_client->notifyCaretChanged(caretLocation, userTouchTriggered);1038 m_webPage->m_client->notifyCaretChanged(caretLocation, isFatFingerOnTextField); 1037 1039 return; 1038 1040 } … … 1075 1077 m_webPage->m_inputHandler->elementText().isEmpty() ? ", empty text field" : ""); 1076 1078 1077 m_webPage->m_client->notifyCaretChanged(caretLocation, userTouchTriggered, isSingleLineInput, nodeBoundingBox, m_webPage->m_inputHandler->elementText().isEmpty());1079 m_webPage->m_client->notifyCaretChanged(caretLocation, isFatFingerOnTextField, isSingleLineInput, nodeBoundingBox, m_webPage->m_inputHandler->elementText().isEmpty()); 1078 1080 } 1079 1081
Note: See TracChangeset
for help on using the changeset viewer.