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

[Linux] Numpad period key triggers delete instead of period #102404

Closed
beicause opened this issue Feb 4, 2025 · 12 comments · Fixed by #102448
Closed

[Linux] Numpad period key triggers delete instead of period #102404

beicause opened this issue Feb 4, 2025 · 12 comments · Fixed by #102448

Comments

@beicause
Copy link
Contributor

beicause commented Feb 4, 2025

Tested versions

Reproducible in 4.4.dev[d2995dc].

System information

Godot v4.4.beta.mono - EndeavourOS SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:57 +0000 on Wayland - X11 display driver, Multi-window, 1 monitor - Vulkan (Mobile) - integrated AMD Radeon Graphics (RADV RENOIR) - AMD Ryzen 7 4800U with Radeon Graphics (16 threads)

Issue description

Since #102169, numpad period key triggers delete in script editor and triggers nothing in property inspector instead of period in Linux, but Alt + Numpad Period triggers period.

Steps to reproduce

Press numpad period key in Godot script editor or property inspector.

Minimal reproduction project (MRP)

N/A

Bugsquad: bisected to 140a63b

@Calinou
Copy link
Member

Calinou commented Feb 4, 2025

Can you reproduce this with native Wayland support enabled in the Editor Settings (Prefer Wayland)?

Also, double-check your numlock key status.

@beicause
Copy link
Contributor Author

beicause commented Feb 4, 2025

Whether numlock is on or off, it performs delete. And enable Prefer Wayland it's the same.

@beicause
Copy link
Contributor Author

beicause commented Feb 4, 2025

I found there was also this issue even before #102169 when enables native Wayland, but it doesn't happend when using X11.

@adamscott adamscott marked this as a duplicate of #102442 Feb 5, 2025
@adamscott adamscott changed the title Numpad period key triggers delete instead of period in Linux [Linux] Numpad period key triggers delete instead of period Feb 5, 2025
@adamscott
Copy link
Member

Bisected from 140a63b, cc. @Riteo.

@TheRealSlander
Copy link

TheRealSlander commented Feb 7, 2025

Just downloaded the 4.4.beta3 released few minutes ago and the bug is still present.
I can't use the period key on my numpad as it performs a delete action. It was not the case with the 4.4.beta1.
I'm on Linux, in Wayland environment.

I tested 4.4.beta2 as well, but that one was even worse as any numpad key triggered the non-numeric keys (i.e. 7 was in fact Home, 3 was Page Down, etc...). The Beta 3 fixed the numbers but not the period one.

EDIT: I use the standard Godot version, not the .net one.

@akien-mga akien-mga reopened this Feb 7, 2025
@akien-mga akien-mga moved this from Done to Needs further info in Platforms Issue Triage Feb 7, 2025
@Riteo
Copy link
Contributor

Riteo commented Feb 7, 2025

Weird, I can't replicate this on HEAD (3f56b3b) using the Wayland backend, with an italian layout while the numlock is on.

Can you please give more info about your setup, such as your layout? It would also be very useful to have the info copied from Help > Copy System Info at the top of the editor window.

@TheRealSlander
Copy link

As requested, here are the System Infos:

Godot v4.4.beta3 - Arch Linux #1 SMP PREEMPT_DYNAMIC Sun, 02 Feb 2025 01:02:29 +0000 on Wayland - Wayland display driver, Single-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 570.86.16) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 threads)

My window manager is Hyprland.

My keyboard layout is fr_FR and I tried from my laptop numpad and an external USB one. I also tested checking and unchecking "Prefer Wayland" in the editor settings, but both give the same result: the numpad period triggers the delete event.

Using Godot v4.4.beta1 gives the normal behavior.
Using Godot v4.4.beta2 does not have numbers at all plus the period triggers delete as well.
Using Godot v4.4.beta3 gives correct numbers but period triggers delete.

I tried to toggle the Num Lock button of course, but it does not affect the period button in Godot v4.4.beta3 and it does not affect any numpad key in Godot v4.4.beta2.

Changing my keyboard layout to en fixes the issue though. I hope this helps.

If you need more infos, don't hesitate to ask.

@adamscott
Copy link
Member

Cannot reproduce on Godot v4.4.beta3 - Fedora Linux 41 (Workstation Edition) on Wayland - Wayland display driver, Single-window, 1 monitor - Vulkan (Forward+) - dedicated AMD Radeon RX Vega (RADV VEGA10) - AMD Ryzen 7 5800X 8-Core Processor (16 threads).

I even tried the AZERTY French layout and it works flawlessly on my side. Both on the Wayland and the X11 display drivers.

@TheRealSlander
Copy link

Correct, I made more investigations and it works as intended if I use the default fr_FR keyboard layout. Using the oss variant (that I'm using dayly) creates the issue!

Thanks @adamscott, you pointed me to this test.

@adamscott
Copy link
Member

I'm gonna try that variant, I'm curious.

@adamscott
Copy link
Member

@TheRealSlander So I am able to reproduce the issue with the fr+oss keyboard. Investigating.

@adamscott
Copy link
Member

Closing as completed as I created #102599 to tackle specifically the fr+oss issue.

@github-project-automation github-project-automation bot moved this from Needs further info to Done in Platforms Issue Triage Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Very Bad
Status: Done
Development

Successfully merging a pull request may close this issue.

7 participants