https://bugs.winehq.org/show_bug.cgi?id=54988
--- Comment #3 from RĂ©mi Bernon rbernon@codeweavers.com --- Created attachment 74538 --> https://bugs.winehq.org/attachment.cgi?id=74538 patch
Okay, well I'd need more detail with how to get and install it, if you don't mind, because it looks like it's behaving specifically.
I tried with ibus and fcitx and I didn't see any difference in behavior. Both are broken, when IME composition is enabled, as they always filter key presses and translate them into IME composition.
Key events are translated to game input only when direct input mode (or non-japanese IME) is used.
The game is never actively enabling or disabling IME, at least not on the imm level -but I think it tries to use the newer msctf API, which is only stubbed- and all it does it call ImmNotifyIME NI_CLOSECANDIDATE (which never did anything), then ImmNotifyIME NI_COMPOSITIONSTR / CPS_COMPLETE when chat box is exited.
The latter indeed slightly changed in behavior in this commit, so I'm thinking that your IME might be automatically resetting itself to direct input whenever XmbResetIC is called.
I'm attaching a patch that may have an impact on this, could you check whether it helps?