<AWT Dev> Integrated: 8261231: Windows IME was disabled after DnD operation
dmarkov at openjdk.java.net
Mon Feb 8 17:12:44 UTC 2021
On Sun, 7 Feb 2021 08:29:57 GMT, Dmitry Markov <dmarkov at 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().
> 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.
Author: Dmitry Markov <dmarkov at openjdk.org>
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
More information about the awt-dev