<AWT Dev> Review request for: JDK-8213292 Input freezes after MacOS key-selector (press&hold) usage on macOS Mojave

Alexey Ushakov alexey.ushakov at jetbrains.com
Fri Nov 2 14:34:28 UTC 2018


(once more with correct formatting :)

Here is the fix of input accented symbols on macOS 10.14 for openjdk12, please have a look. The problem is also reproducible in JDK8-JDK11.

Bug : https://bugs.openjdk.java.net/browse/JDK-8213292
Webrev : http://cr.openjdk.java.net/~avu/JDK-8213292/webrev.00/
Issue : The recent version of macOS (10.14) breaks the input of accented symbols using key-select input method. This is a major problem for all IntelliJ IDEA Platform based products (https://youtrack.jetbrains.com/issue/JRE-998). After entering accented symbol a user is unable to enter any ordinary symbol.

Root cause : For some reason jdk after entering accented symbol started to receive NSEvent objects having willBeHandledByComplexInputMethod property set to 1 even for ordinary symbols

Solution : Calling abandonInput method of AWTView object restores the correct behavior of input methods.

Best Regards,

More information about the awt-dev mailing list