inputmethod: Properly report that it's not visible
Window::isShown only checks that it's not hidden, in this case it's not that it's hidden it's that it's neither shown or hidden. Take the readyForPainting attribute into account.
Window::isShown only checks that it's not hidden, in this case it's not that it's hidden it's that it's neither shown or hidden. Take the readyForPainting attribute into account.