Changeset 93539 in webkit


Ignore:
Timestamp:
Aug 22, 2011 2:05:33 PM (13 years ago)
Author:
andersca@apple.com
Message:

Update the current NSTextInputContext whenever the plug-in complex text input state changes
https://bugs.webkit.org/show_bug.cgi?id=66709

Reviewed by Sam Weinig.

Call [NSTextInputContext currentInputContext] which will force AppKit to update the current input
context. Fixes a rare case when the out-of-line editing window wouldn't appear.

  • UIProcess/API/mac/WKView.mm:

(-[WKView _setPluginComplexTextInputState:WebKit::pluginComplexTextInputIdentifier:]):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r93458 r93539  
     12011-08-22  Anders Carlsson  <andersca@apple.com>
     2
     3        Update the current NSTextInputContext whenever the plug-in complex text input state changes
     4        https://bugs.webkit.org/show_bug.cgi?id=66709
     5
     6        Reviewed by Sam Weinig.
     7
     8        Call [NSTextInputContext currentInputContext] which will force AppKit to update the current input
     9        context. Fixes a rare case when the out-of-line editing window wouldn't appear.
     10
     11        * UIProcess/API/mac/WKView.mm:
     12        (-[WKView _setPluginComplexTextInputState:WebKit::pluginComplexTextInputIdentifier:]):
     13
    1142011-08-19  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm

    r93447 r93539  
    23102310        [[WKTextInputWindowController sharedTextInputWindowController] keyboardInputSourceChanged];
    23112311    }
     2312
     2313    // This will force the current input context to be updated to its correct value.
     2314    [NSTextInputContext currentInputContext];
    23122315}
    23132316
Note: See TracChangeset for help on using the changeset viewer.