mojira.dev
MC-91132

No cross-platform CJK IME support

Synopsis

Chatting in Minecraft is an essential feature for rich multiplayer experience. I believe that the core part of Minecraft gameplay is online collaboration with friends and world-wide players. To this end, chatting in our native languages significantly lowers the learning curve for beginners and boosts fun for experienced players.

In MC-2781, many users from China, Japan, Korea, and a few western countries have reported CJK IME issues and in 15w43a Mojang has applied a "quick" patch that accepts characters generated by operating system IME.
This "quick" patch is not perfect, however, with the following issues:

  • It works only with Windows. On Mac and Linux, the IME behavior is different and inconsistent with different IME plug-ins.

  • It does not disable IME when the chat window is closed, blocking in-game control keys (e.g., WASD) if the user does not explicitly change to English input mode.

Suggested Complete Solution

Edit Please see comment from July 3, 2020 to see solution information.

 

  • Send a patch to LWJGL to add a cross-platform IME API like SDL. https://wiki.libsdl.org/Tutorials/TextInput

  • Update LWJGL of Minecraft.

  • Patch Minecraft to:

    • disable IME by default

    • enable IME when the chat window / sign input window opens.

    • disable IME when the chat window / sign input window closes.

    • accept character composition events to actively update texts in the input window for native experience (so-called "on-the-spot" IME)

This will be a long-term journey because we need to patch both LWJGL and Minecraft whose authorities are different, so I create another issue to clean up long discussions and suggestions in the original issue (MC-2781).
I think the community users and Mojang should work together to completely resolve this issue.

Linked issues

Attachments

Comments 34

Is there a bugreport for the LWJGL project for the changes necessary on their end? I didn't see anything on https://github.com/LWJGL/lwjgl3/issues

Totally agree with Mr. Kim.
As far as I know most of Korean users are still encountering with this issue on vanilla MC 1.8.9. So currently community powered Korean IME patch(such as http://blog.naver.com/won983212) is the best solution for them.
Please consider to provide complete solution as Mr. Kim suggested.
Also if you need a Korean IME tester when it is resolved, I would be appreciated to be the one.

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.

still an issue in 1.10.2 in linux by using gcin.

@unknown, 1.10.2 is outdated. Can you reproduce the issue in 1.11?

24 more comments

I have another issue maybe related this issue.
Typing some texts using ATOK (japanese input method commonly used in Japan) don't work since 1.17 pre-release 1. Able to use ATOK until MC 1.16.5 and snapshot 21w20a.

Note: If MS-IME and GoogleIME is used, no issue happens. But these input methods are not good for me.

[media]

[media]

[media]

The issue that occurred with ATOK also occurs with Weasel, a Chinese input method. A related issue on GitHub can be found at https://github.com/rime/weasel/issues/750 (in Chinese).

Can confirm in 1.20.4

There are something going on:

If glfw/glfw#2130 is successfully merged, then I think finally Minecraft JE developers could add the proper IME support without much effort, as described in this issue.

It took more than 12 years from the first report (MC-2781). Now we are getting there.

confirmed on fedora40 kde spin with 1.20.6/1.21/1.21.1, wayland and fcitx5

(with xwayland, patched glfw and waygl mod)

Joongi Kim

Matthew Strelsky

(Unassigned)

Community Consensus

Platform

Important

Input

Minecraft 1.8.8, Minecraft 15w43a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.12, ..., 22w19a, 1.19.2, 22w44a, 1.20.1, 1.20.4

Retrieved