RESOLVED FIXED 58404
REGRESSION (WebKit2): Input methods are active in non-editable content
https://bugs.webkit.org/show_bug.cgi?id=58404
Summary REGRESSION (WebKit2): Input methods are active in non-editable content
Alexey Proskuryakov
Reported 2011-04-12 17:30:02 PDT
Steps to reproduce: 1. Open any Web page. 2. Enable Kotoeri Hiragana (or any other input source that uses inline input) 3. Press any alphanimeric key when selection is in non-editable content. 4. Press F11. Expected results: Expose is invoked. Actual results: it's not. We should return nil from -[WKView inputContext] when the current selection is not editable.
Attachments
proposed fix (2.63 KB, patch)
2011-04-12 17:37 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2011-04-12 17:30:21 PDT
Alexey Proskuryakov
Comment 2 2011-04-12 17:37:27 PDT
Created attachment 89317 [details] proposed fix Note that WK1 also calls -[NSApp updateWindows] to make sure that AppKit fetches the most up to date context. It's tricky to do, and I couldn't see any problems from not doing it on 10.6, so let's start without updateWindows calls to see if anything breaks.
Oliver Hunt
Comment 3 2011-04-12 17:41:06 PDT
Comment on attachment 89317 [details] proposed fix Is there a bug for the windows equivalent of this?
Enrica Casucci
Comment 4 2011-04-12 17:42:48 PDT
Comment on attachment 89317 [details] proposed fix The change looks good to me
Alexey Proskuryakov
Comment 5 2011-04-12 17:54:05 PDT
Comment on attachment 89317 [details] proposed fix I don't know if there is a Windows equivalent, I don't remember how Windows IM works.
WebKit Commit Bot
Comment 6 2011-04-12 21:35:50 PDT
Comment on attachment 89317 [details] proposed fix Clearing flags on attachment: 89317 Committed r83697: <http://trac.webkit.org/changeset/83697>
WebKit Commit Bot
Comment 7 2011-04-12 21:35:58 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.