On Sun Oct 26 14:59:09 2025 +0000, Byeongsik Jeon wrote:
Reverting !9246 and replacing NtUserMsgWaitForMultipleObjectsEx with macdrv_ProcessEvents resolves the issue. I had introduced the event handle because I misunderstood the meaning of ‘QS_POSTMESSAGE | QS_SENDMESSAGE’. Update: This is essentially equivalent to “while(!done) NtUserMsgWaitForMultipleObjectsEx(0, NULL, 0, 0, 0);”, so it is meaningless.
The Japanese keyboard issue is caused by the timeout:0.3 in firstRectForCharacterRange:. This causes a 0.3-second delay. It appears to be related to QUERY_EVENT within OnMainThread.