Dalamud icon indicating copy to clipboard operation
Dalamud copied to clipboard

JP IMEs not working since ImGui update

Open smio102 opened this issue 2 years ago • 4 comments

Since the latest game patch imgui text inputs no longer have input prediction This makes typing in Japanese very hard as you can't see at all what is being typed. Using any plugin with significant text input is basically impossible for Japanese players.

smio102 avatar Aug 01 '22 13:08 smio102

We're aware and someone is looking into it, apologies. There's no Japanese person on the main dev team, so it didn't show up in our testing.

goaaats avatar Aug 01 '22 13:08 goaaats

What IME are you using?

goaaats avatar Aug 01 '22 13:08 goaaats

image just default microsoft windows ime

edit: also happening with Google Japanese IME

ghost avatar Aug 01 '22 13:08 ghost

The WndProc hook is changed to use DispatchMessage instead of SetWindowLongPtr to prevent a RivaTuner incompatibility crash, and it causes incompatible wParam and lParam while handling imm messages. Ex, OpenCandidate should be 0x0005 but it is 269 in the new hook, so it doesn't trigger any IME window. I don't know why and how the difference is made, I tried to upgrade my OS to 22H2 (Win11) and the OpenCandidate can be triggered, but the composition-related messages cannot be handled well still.

Bluefissure avatar Aug 13 '22 22:08 Bluefissure

I released a legacy version of my IMEPlugin just now, in case anyone needs it. https://raw.githubusercontent.com/Bluefissure/IMEPlugin/legacy/repo.json

BTW the Dalamud needs to disable the IME handling or there'll be double input https://github.com/ottercorp/Dalamud/commit/0cbb5b7805a6949580d01519e37b52f27788d88d

Bluefissure avatar Aug 14 '22 15:08 Bluefissure

@Soreepeong Is there anything you can do with regards to the RTSS compatibility that maintains IME message support?

slotthhy avatar Aug 15 '22 20:08 slotthhy