Page 1 of 1

[1.1.41] Japanese chat input on Mac does not work

Posted: Mon Sep 27, 2021 5:16 am
by zenmetsu
Steps to reproduce:

1. On MacOS, go to System Preferences -> Keyboard -> Input Sources and add the "Japanese - Romaji" input. While there, also add the "Pinyin - Simplified" input for comparison purposes.
2. Open Factorio
3. Join a multiplayer game
4. Open console
5. Switch between language inputs using whatever key combination is set (can be check under System Preferences -> Keyboard -> Shortcuts -> Input Sources)
6. Switch to Japanese and attempt to type こんにちは by typing "konnnichiha", then hit Enter to select the word (Japanese language requires conversion from Hiragana to Kanji occasionally, which is why choosing characters is necessary). Hitting Enter appears to close the console before the word is input to the console.
7. Switch to Chinese Pinyin and try typing 你好 by typing "nihao", then hit "1" to select the correct conversion. This works because this input uses numbers to select conversions rather than arrows and the Enter key.

In order for this to work, I think Factorio must somehow ignore Enter and arrow input, or simply all input while the Japanese character conversion dialog is open.

Japanese input appears to work fine on Windows.

Re: [1.1.41] Japanese chat input on Mac does not work

Posted: Mon Jul 10, 2023 4:49 am
by zenmetsu
This is still true in 1.1.87

Re: [1.1.41] Japanese chat input on Mac does not work

Posted: Tue Jul 11, 2023 1:32 pm
by StrangePan
Thank you for the report!

After looking into this, it seems that we never really brought full IME support to macOS or Linux. It also appears that the Windows implementation could use an upgrade and a unification with the other platforms.

This looks like it'll be a larger project, so I'm adding it to the backlog for now and will tackle it another time.

Re: [1.1.41] Japanese chat input on Mac does not work

Posted: Tue Jul 11, 2023 2:13 pm
by zenmetsu
Thank you, I appreciate the insight into the reason for the difference in behavior too.