Changeset 165477 in webkit
- Timestamp:
- Mar 12, 2014 10:19:33 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r165454 r165477 1 2014-03-11 Alexey Proskuryakov <ap@apple.com> 2 3 REGRESSION (r165356): [Mac] Multi-part key bindings don't work 4 https://bugs.webkit.org/show_bug.cgi?id=130100 5 6 Reviewed by Darin Adler. 7 8 Restore the previous behavior, where we only interpreted keydowns (including those 9 coming through performKeyEquivalent). 10 11 In the future, we might send all events to input methods, but not to key bindings. 12 13 * UIProcess/API/mac/WKView.mm: 14 (-[WKView keyUp:]): 15 (-[WKView flagsChanged:]): 16 1 17 2014-03-11 Beth Dakin <bdakin@apple.com> 2 18 -
trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm
r165356 r165477 1335 1335 { 1336 1336 LOG(TextInput, "keyUp:%p %@", theEvent, theEvent); 1337 1338 Vector<KeypressCommand> commands; 1339 BOOL handledByInputMethod = [self _interpretKeyEvent:theEvent savingCommandsTo:commands]; 1340 1341 _data->_page->handleKeyboardEvent(NativeWebKeyboardEvent(theEvent, handledByInputMethod, commands)); 1337 // We don't interpret the keyUp event, as this breaks key bindings (see <https://bugs.webkit.org/show_bug.cgi?id=130100>). 1338 _data->_page->handleKeyboardEvent(NativeWebKeyboardEvent(theEvent, false, Vector<KeypressCommand>())); 1342 1339 } 1343 1340 … … 1441 1438 return; 1442 1439 1443 Vector<KeypressCommand> commands; 1444 BOOL handledByInputMethod = [self _interpretKeyEvent:theEvent savingCommandsTo:commands]; 1445 1446 _data->_page->handleKeyboardEvent(NativeWebKeyboardEvent(theEvent, handledByInputMethod, commands)); 1440 _data->_page->handleKeyboardEvent(NativeWebKeyboardEvent(theEvent, false, Vector<KeypressCommand>())); 1447 1441 } 1448 1442
Note: See TracChangeset
for help on using the changeset viewer.