I know this is a nit, but I wanted to report a change in functionality.
> What did you do?
I clicked on the constant number in this "Enable if": As expected, I was taken to the screen to set the constant. The constant string ("50") is highlighted, again, as expected. I then typed "90".
> What happened?
The constant was then set to "5090".
> What did you expect to happen instead? It might be obvious to you, but do it anyway!
I expected the keystrokes to replace the "50", but the "90" was simply appended to the end.
>Does it happen always, once, or sometimes?
This happens always. It is changed functionality from the previous version and requires extra mouse movement or keystrokes to fix.
Save file is too big, can recreate in new world upon request.
[2.1.7] Changing existing constant appends to end of string instead of replacing it
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
I am not able to reproduce any such issue. When I type - it overwrites the selected text.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
Are you using the numpad to type the numbers?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
Hi Bilka,
Yes. I was using numpad on an external Bluetooth keyboard for my laptop. I just tried numbers on the laptop keyboard (not a numpad, nothing externally connected) and the intended behavior occurred, where it overwrote the existing values.
I have used the numpad without this issue on previous builds.
Andrew
Yes. I was using numpad on an external Bluetooth keyboard for my laptop. I just tried numbers on the laptop keyboard (not a numpad, nothing externally connected) and the intended behavior occurred, where it overwrote the existing values.
I have used the numpad without this issue on previous builds.
Andrew
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
Strange. Can you test disabling the setting mentioned here? viewtopic.php?p=695689#p695689
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
Hi Team,
Toggling num-lock on my keyboard resolved the issue.
The config change to which you linked also resolved the issue, for both toggle states of num-lock.
That is sufficient for me, if it resolves your potential concerns as well.
Andrew
Toggling num-lock on my keyboard resolved the issue.
The config change to which you linked also resolved the issue, for both toggle states of num-lock.
That is sufficient for me, if it resolves your potential concerns as well.
Andrew
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
I have the same issue, I'm on a MacBook with OSX Tahoe 25.6.1 and using an external Apple keyboard with numpad. Using the numpad it appends the string.
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
This sounds like an SDL3 bug. I’ll see if we can reproduce it internally.
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1.7] Changing existing constant appends to end of string instead of replacing it
I was finally able to reproduce this with a coworkers help and it's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.


