Keyboard Input failing in Editor

Summary

There is a bug in the Linux version of Unreal Engine where the keyboard input will randomly stop working in the editor. This includes playing the game in editor, modifying blueprints, renaming files, etc. The only way to fix this is to restart the engine or reload the project. I could not find any errors in the logs to say why this was occurring. I don’t believe this issue occurs in Windows because if it did, it would have been noted already since this happens every 5-60 minutes when using the editor and the majority of users use Windows for development.

This was tested in Linux Mint using I3 and Cinnamon desktops. Both without success.

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

Use the editor in Linux, do a lot of typing to experience it such as renaming files and naming variables. It seems almost random, as I have had this happen at least 12 times by now without any consistency in time or keyboard inputs to trigger the issue.

Expected Result

Keyboard should work

Observed Result

Keyboard refuses input until restart

Platform(s)

Linux Mint (Cinnamon & I3 Desktops were tested) - Unreal Engine 5.7.2

This error is related to keyboard layout switching.
If a non-English keyboard layout was active at the moment you launched the Unreal Editor, keyboard input methods within the engine will most likely not work. Moreover, if you have “English input set as default for each new application” and “unique layout switching per application” enabled, then the target window focus also matters. If the focus switches to a window that has a non-English layout active, the input will stop working again.
This issue is specific to Unreal Engine. I have never encountered this behavior in any other application.