Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland - US intl. keyboard layout incompatible with Godot #94445

Open
Tracked by #88346
perroboc opened this issue Jul 16, 2024 · 4 comments
Open
Tracked by #88346

Wayland - US intl. keyboard layout incompatible with Godot #94445

perroboc opened this issue Jul 16, 2024 · 4 comments

Comments

@perroboc
Copy link

Tested versions

v4.3.beta3.official [82cedc8]

System information

Godot v4.3.beta3 - Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XTX (RADV NAVI31) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)

Issue description

Using us keyboard layout English (US, intl., with dead keys), neither single nor double quotes seem to work. This works OK when not using Wayland.

First half of the video is Godot working as intended with Wayland turned off. Second half (when typing hello) is with Wayland enabled, where ' nor " were registered:

untitled.mp4

Steps to reproduce

Enable Wayland preference on Godot, while using the keyboard layout specified above.

Minimal reproduction project (MRP)

Not needed, as an empty project presents the same issue.

@perroboc perroboc changed the title Wayland missing keystrokes Wayland - US intl. keyboard layout incompatible with Godot Aug 15, 2024
@perroboc
Copy link
Author

System info: Godot v4.3.stable - Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XTX (RADV NAVI31) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)

Godot is unable to register quotes and double quotes (' and ") while using the US intl. layout. It does register them while using the US layout.

The difference here is that while using the US layout, ' and " register automatically after pressing the key, while in the US intl. layout, ' and " require a second keystroke to register because they're used to create international characters (like ú and ü when the keystrokes are followed by a u).

The common way to work in any code or text editor while using this layout is to press space after them to register a single character, or press the key twice to get two of them (as in '' or ""). This works as expected on Godot running on X11, and also other wayland editors are able to have this behavior.

@Calinou
Copy link
Member

Calinou commented Aug 15, 2024

@perroboc
Copy link
Author

Can confirm this does not happen in my case. Godot still accepts other keyboard input after dead keys are pressed when configured to use wayland.

$ ibus version
IBus 1.5.30

@Riteo
Copy link
Contributor

Riteo commented Aug 18, 2024

Oops, I'm really sorry, this slipped out of my radar. For some reason lately I've been feeling a bit tired but I'll put this in my TODO list and take a look soon™.

Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants