[2.1.12] on MacOS, numpad keys send navigation inputs

Post your bugs and problems so we can fix them.
Weldawadyathink
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun Nov 03, 2024 8:32 am
Contact:

[2.1.12] on MacOS, numpad keys send navigation inputs

Post by Weldawadyathink »

This appears to be caused by the fix for this bug report: 133992.

On the apple magic keyboard with numpad, there is no concept of numlock. The navigational keys are separate from the numpad. It seems like the fix above, for apple keyboards on macOS, is interpreting a numpad key as a navigational key and a number input. This causes havoc with number input fields. 0 and 5 work as expected. The rest of the digits undo the highlight of the text before typing, causing you to add digits to the number instead of replacing it. 4 and 6 in particular move the cursor, so typing most numbers with those digits is nearly impossible with the numpad. For example, typing 1234 results in 1243, and leaves the cursor between the 4 and 3.

Expected result: numpad navigational inputs should be ignored entirely on macos. At very least, they should be ignored on keyboards that don't have a numlock status, like the magic keyboard with trackpad.
Attachments
factorio-current.log
(12.38 KiB) Downloaded 11 times
Last edited by Weldawadyathink on Tue Jul 21, 2026 10:50 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17240
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.11] on MacOS, numpad keys send navigation inputs

Post by Rseding91 »

This is likely fixed as part of this fix for 134235
If you want to get ahold of me I'm almost always on Discord.
Weldawadyathink
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun Nov 03, 2024 8:32 am
Contact:

Re: [2.1.11] on MacOS, numpad keys send navigation inputs

Post by Weldawadyathink »

Will that fix be in 2.1.12? I will check it again once it releases. Thanks!
Weldawadyathink
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun Nov 03, 2024 8:32 am
Contact:

Re: [2.1.11] on MacOS, numpad keys send navigation inputs

Post by Weldawadyathink »

I just updated to 2.1.12, and this bug still exists.
User avatar
hgschmie
Fast Inserter
Fast Inserter
Posts: 216
Joined: Tue Feb 06, 2024 5:18 am
Contact:

Re: [2.1.12] on MacOS, numpad keys send navigation inputs

Post by hgschmie »

I can confirm that this still exist on 2.1.12 (MacOS 26.5.2 with an external keyboard that has a numpad)

left is the numkey, right is what the game shows when trying to assign as a shortcut:

0 => Insert
1 => End
2 => Down
3 => Page Down
4 => Left
5 => Clear
6 => Right
7 => Home
8 => Up
9 => Page Up
. => Delete
CLEAR => NumLock
/ => Numpad /
* => Numpad *
- => Numpad -
+ => Numpad +
ENTER => Enter

This worked before (on 2.0.x)
Post Reply

Return to “Bug Reports”