Bug details:
As the picture below shows, when I attempt moving forward, the game did not control the character move forward, but started "inputing" the "W" character at the left-top screen and showing the candidate items at the right-bottom screen.
When I pressed the Shift key, the character moved below and after doing this when repeat pressing "W" key, the character moved as expected.
I use the Microsoft Pinyin input method.
How to reproduce:
download and install a Chinese input method on your computer (e.g. Microsoft Pinyin input method. You can add it by following this way: Open "Settings" - "Time and Language" - "Language and Regions" - "Add language", and search "Chinese", then add this language).
Switch your input method to Microsoft Pinyin input method (by pressing the Windows Logo key and the Space key). When occur these Chinese characters "拼" and "中" at the right-bottom screen, go to the next step.
Open Minecraft Java Edition, and enter a world. Make sure that these Chinese character mentioned are still show on your screen before testing. Try moving character by pressing a key like "W", and you will find that this bug occured.
Environment
Windows 11
Java 17.0.3
LWJGL 3.3.1
Linked issues
duplicates 1
is duplicated by 4
Attachments
Comments 5
This issue happens in a lot of programs. It hard (possible though) to intercept the keys before reaching the IME.
Just use Win+space to switch to English.
May be a duplicate of MC-91132.
这个问题100%是MC-91132的重复,因为Microsoft拼音输入法在默认情况下按Shift就会在中/英文模式之间切换。所以当你是中文模式时,按“W”键后并没有控制角色的前进;再次按下Shift键时,切换为英文模式,此时角色可以移动到下面,按“W”键后角色也按预期移动。
之后每次按下Shift键都会反复切换中/英文模式。这个问题随着26.1-snapshot-10的发布(即MC-91132的修复),已经解决了,所以应该关闭这个问题。
This issue is 100% a duplicate of MC-91132. This is because the Microsoft Pinyin Input Method switches between Chinese and English modes by default when the Shift key is pressed. Therefore, when in Chinese mode, pressing the "W" key does not control the character to move forward; pressing the Shift key again switches to English mode, at which point the character can move downward, and pressing the "W" key afterward results in the character moving as expected.
Subsequently, pressing the Shift key repeatedly will toggle between Chinese and English modes. This issue has been resolved with the release of 26.1-snapshot-10 (the fix for MC-91132), so this issue should be closed.
This is truly a question and I hope Mojang can pay attention. I'm fed up with the input method ultimately switching between Chinese and English while I hold Shift simply wishing to dive. Extra deaths from guardians because of thsi.