On Sun, 7 Feb 2021 08:29:57 GMT, Dmitry Markov <dmar...@openjdk.org> wrote:
> The function InvokeInputMethodFunction() is responsible for invocation of IME > API. Typically it uses PostMessage() to execute corresponding IME function on > the toolkit thread but if DnD operation takes place SendMessage() is used. > The state of m_inputMethodWaitEvent event object remains signalled after > SendMessage() execution. That causes failure of subsequent IME functions > calls via PostMessage(). > > Fix: > SendMessage() and PostMessage() calls inside InvokeInputMethodFunction() > should be synchronised. The state of m_inputMethodWaitEvent event object must > be reseted right after SendMessage() execution. This pull request has now been integrated. Changeset: d6d5d9bf Author: Dmitry Markov <dmar...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/d6d5d9bf Stats: 5 lines in 1 file changed: 3 ins; 1 del; 1 mod 8261231: Windows IME was disabled after DnD operation Reviewed-by: kizune, serb ------------- PR: https://git.openjdk.java.net/jdk/pull/2448