<AWT Dev>  Review request for 8198606: Touch keyboard does not hide, when a text component looses focus
anton.litvinov at oracle.com
Mon Mar 12 13:24:47 UTC 2018
Could you please review the following fix for the bug.
The root cause of the bug is the fact that starting from one of the last
updates of MS Windows 10 the window of the touch keyboard does not have
the style "WS_VISIBLE", even when it is really visible, and the method
"AwtToolkit::HideTouchKeyboard()" does not execute the code hiding the
touch keyboard, because the method
"AwtToolkit::GetTouchKeyboardWindow()" return "NULL", since one of its
conditions, particularly "::IsWindowVisible(hwnd)", where "hwnd" is a
handle of the touch keyboard window, currently always returns "FALSE".
The fix for this bug removes this extra "if" condition from the method
"AwtToolkit::GetTouchKeyboardWindow()", which in current circumstances
is always evaluated as "FALSE".
More information about the awt-dev