WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
188251
[iOS] Keyboard becomes unresponsive after pressing delete while pressing down on a character key with accents
https://bugs.webkit.org/show_bug.cgi?id=188251
Summary
[iOS] Keyboard becomes unresponsive after pressing delete while pressing down...
Wenson Hsieh
Reported
2018-08-01 22:18:13 PDT
<
rdar://problem/37842108
>
Attachments
Patch
(22.88 KB, patch)
2018-08-01 23:32 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Patch
(22.91 KB, patch)
2018-08-02 08:02 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2018-08-01 22:20:05 PDT
This following code: - (void)handleKeyWebEvent:(::WebEvent *)theEvent withCompletionHandler:(void (^)(::WebEvent *theEvent, BOOL wasHandled))completionHandler { _keyWebEventHandler = [completionHandler copy]; _page->handleKeyboardEvent(NativeWebKeyboardEvent(theEvent)); } - (void)_didHandleKeyEvent:(::WebEvent *)event eventWasHandled:(BOOL)eventWasHandled { if (_keyWebEventHandler) { _keyWebEventHandler(event, eventWasHandled); [_keyWebEventHandler release]; _keyWebEventHandler = nil; return; } … } ...is not robust in the case where the key event completion handler calls back into -handleKeyWebEvent:withCompletionHandler:, since we'll just end up stomping over the newly stored completion block in the next line.
Wenson Hsieh
Comment 2
2018-08-01 23:32:16 PDT
Created
attachment 346360
[details]
Patch
Wenson Hsieh
Comment 3
2018-08-02 08:02:07 PDT
Created
attachment 346380
[details]
Patch
Wenson Hsieh
Comment 4
2018-08-02 11:05:33 PDT
Comment on
attachment 346380
[details]
Patch Thanks for the review!
WebKit Commit Bot
Comment 5
2018-08-02 11:32:29 PDT
Comment on
attachment 346380
[details]
Patch Clearing flags on attachment: 346380 Committed
r234504
: <
https://trac.webkit.org/changeset/234504
>
WebKit Commit Bot
Comment 6
2018-08-02 11:32:31 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug