Bug 130100

Summary: REGRESSION (r165356): [Mac] Multi-part key bindings don't work
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, enrica
Priority: P2 Keywords: Regression
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix darin: review+

Description Alexey Proskuryakov 2014-03-11 16:26:15 PDT
If you have this in ~/Library/KeyBindings/DefaultKeyBinding.dict, then pressing Ctrl+m Ctrl+x should insert Esc key glyph:

{
	"^m" = {
		"^x"    = ("insertText:", "\U238B");  /* C-x     escape */ 
	};
}

This is broken because we now pass keyups through -interpretKeyEvents:, and interpreting that resets internal state of key bindings.
Comment 1 Alexey Proskuryakov 2014-03-11 22:38:40 PDT
Created attachment 226474 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2014-03-12 10:21:07 PDT
Committed <http://trac.webkit.org/r165477>.

Also changed NO to false - I remembered that the argument was a C++ bool now.