Description
Tested versions
- Reproducible on: v4.4.1.stable.official [49a5bc7]
System information
Godot v4.4.1.stable - macOS Sequoia (15.5.0) - Multi-window, 1 monitor - Metal (Forward+) - integrated Apple M1 Pro (Apple7) - Apple M1 Pro (8 threads)
Issue description
The blender-style 3D transform tools implemented in #56543 do not work properly with numpads in keyboard layouts that have a comma instead of a period as the primary key, such as the Finnish/Swedish keyboard layout:
Finnish-layout Apple keyboard as an example:
In such cases, pressing the comma
key on these numpads results in no action. The expected behavior would be to apply a decimal point while editing, as is done in programs like Blender.
Steps to reproduce
This is probably most obvious using the scale
tool, so assuming that Begin Scale Transformation
is bound to the S
key and the current keyboard layout uses the numpad comma key:
Let's say that our goal is to scale an object to half its size.
- Click on a 3D object.
- Press
S
on the keyboard. - Press
,
on the numpad. (Here, nothing happens, when this should function as if.
was pressed.) - Type
5
.
This should scale the object by 0.5 times, which is how it works in Blender. However, since Godot cannot recognize that this key should function identically to the numpad period, it instead scales the object up five times, as the decimal point is skipped during input.
While a very minor detail, this effectively ruins the numpad workflow for 3D editors using certain keyboard layouts, notably most nordic keyboards.
Minimal reproduction project (MRP)
N/A