On Fri, 2 Sep 2016 05:41:48 +0200, Sebastian Lackner wrote:
Just to let you know, in the meantime I have tracked down what is causing the test failure (but I am not yet sure how to fix it). Starting with your change, we are also creating IME windows for "OleMainThreadWndClass" windows. In this particular case, the watch_desktop_folders thread created by explorer.exe is causing the trouble. The thread does not have any message loop which is blocking broadcast messages.
Should we filter this case in imm32.needs_ime_window?
Actually we should probably skip creation for all windows with HWND_MESSAGE parent. Nevertheless, I will leave a fix to someone more familiar. ;)
Great! I verified that the default IME window isn't created for message-only window (= a window created with HWND_MESSAGE parent). I'm preparing tests now.
Thanks a lot, Akihiro Sagawa