tModLoader / tModLoader

A mod to make and play Terraria mods. Supports Terraria 1.4 (and earlier) installations
https://www.tmodloader.net/
MIT License
4.11k stars 1.85k forks source link

[Linux] [1.4 Alpha] Game controls don't work when changing keyboard layout #2117

Open ghost opened 2 years ago

ghost commented 2 years ago

Version

Latest public-1.4-alpha

OS

Linux

Platform

Steam

This bug affects

Gameplay as a Player

Description

Controls in the game stop working when switching the keyboard layout to another language (in my case, when switching to Russian or Ukrainian layout). When switching the layout back to English, the control starts working again. This problem is present only in tModLoader. Everything works fine in the vanilla version of Terraria.

Log File

client.log

Steps to reproduce

  1. Install Manjaro OS with Gnome desktop environment, add any Cyrillic keyboard layout (eg Ukrainian or Russian) when installing the system, install Steam, Terraria and tModLoader. (Most likely, the operating system does not play a role, and this problem will be on any Linux operating system)
  2. Go to tModLoader, switch keyboard layout and try to control the character. The controls in the game just don't work.

Expected Behavior

Working controls in the game on any keyboard layout.

Actual Behavior

Controls in the game do not work when changing the layout of the keyboard.

Reproduction frequency

I don't know what can be done in this situation. I just tested this problem in other games, as well as in vanilla Terraria, and it worked fine there.

Additional Information

OS: Manjaro Linux x86_64 Kernel: 5.15.12-1-MANJARO DE: GNOME 41.2

dxcvvxd commented 7 months ago

im having the same issue on dwm x11 on both tmodloader and vanilla terraria