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.

Marked as reviewed by serb (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/2448

Reply via email to