mojira.dev
MC-122477

Opening the chat sometimes appends the character the used key types to the message on Linux

The bug

Sometimes when opening chat it writes 't' (Different character if bound to another key). It doesn't appear to happen on Windows.

Code analysis

Code analysis by @unknown can be found in this comment.

Environment

Ubuntu 17.10; Ubuntu 16.04.3; Ubuntu 14.04; Zorin OS 12; Mint 18.02

Linked issues

MC-225420 Repeated Key Presses for Linux Users Resolved MC-214389 Button buffering in chat Resolved MC-190876 Chat key and command key sometimes repeat twice on Linux Resolved MC-207018 Pressing t to chat adds another t in chat on linux Resolved MC-145481 Opening chat puts chat hotkey character into textbox Resolved

Comments 69

Unrelated to Minecraft itself, it's either your computer, your mouse, or your touchpad. Everyone experiences this, some more than others, and there's nothing that Mojang can do to fix it. : /

Actually this is unrelated to my hardware. It did not occur in 1.12.2, so it came with 1.13 or perhaps because of LWJGL 3.

This also happens to me too. I get duplicate key registers for the open chat key and open command key. Changing the open command key to the keypad 1 key results in "/1". This issue only ever happens when opening the chat buffer and not while its open. I've only had this issue with 1.13 snapshots and no other version of minecraft or any other program for that matter.

The bug seems to occur only on Linux operative systems. Had the same problem with another game too though!
This bug still persists in the latest snapshot

Can also confirm on Ubuntu 16.04 LTS on 1.13 release, however this bug does not appear on Windows on the same computer. If i downgrade to 1.12.2 then this issue does not occur.

59 more comments

I think this is your keyboard’s problem.You pressed 1 time 't' but keyboard thought you pressed 2 times

If anyone needs a fix for modern minecraft versions: https://modrinth.com/mod/mc-122477-fix

Can confirm in 26.2 - it also sometimes writes // (instead of a single /) when starting a command.

I have the same issue too on Linux Mint. Doesn’t happen on Windows.

I’ve ported the original fix mod of RecursiveG to all mc versions down to 1.15 if anyone is interested.

I’m also rewriting parts of the mod to also fix modded menus so if anyone wants to test it and leave an issue (with bug or working report) on my github you can download it on modrinth(or github): https://modrinth.com/mod/mc122477fix-re-updated (the newest beta/testing version)

Bug report here please:

[blockCard]

chokoboy3

(Unassigned)

Confirmed

Platform

Normal

Input

Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, , 1.19.4, 1.20.4, 23w51b, 1.20.5 Release Candidate 2, 1.21

26.3 Snapshot 4

Retrieved