Bug 146732

Summary: [iOS] Keyboard shortcuts that take focus away from the web view end up typing a letter into the newly focused field
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal CC: enrica
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Check if the web view is still first responder when handling key events
sam: review+
Check if content is editable before forwarding events to the keyboard darin: review+

Description mitz 2015-07-08 10:38:05 PDT
<rdar://problem/21669397>

For example, Command-L focuses the Safari Smart Search Field but then also types a lowercase L into it.
Comment 1 mitz 2015-07-08 10:40:52 PDT
Created attachment 256384 [details]
Check if the web view is still first responder when handling key events
Comment 2 mitz 2015-07-08 10:50:03 PDT
Fixed in <http://trac.webkit.org/r186514>.
Comment 3 mitz 2015-07-23 14:36:56 PDT
Reopening because this isn’t fixed yet.
Comment 4 mitz 2015-07-23 14:43:52 PDT
Created attachment 257386 [details]
Check if content is editable before forwarding events to the keyboard
Comment 5 mitz 2015-07-23 16:08:29 PDT
Fixed in <http://trac.webkit.org/r187266>.