[posila] [0.17.63] Controls settings confuses 'ö' with '0'

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Gergely
Filter Inserter
Filter Inserter
Posts: 599
Joined: Sun Apr 10, 2016 8:31 pm
Contact:

[posila] [0.17.63] Controls settings confuses 'ö' with '0'

Post by Gergely »

When I'm setting a keybind in the controls settings, the game displays the character 0 when it's supposed to display the character ö. During game play however, the right action is triggered for the right keybind, so this is just a visual bug. I also noted that for accented letters, their lowercase is used while all other letters use their uppercase. On my keyboard, every letter is in uppercase. Here's my layout for reference:
Image

What's on the keyboard -> What the game displays in the menu

Code: Select all

A -> A
B -> B
C -> C
Í -> í
Ö -> 0 (!)
Ü -> ü
Ó -> ó
Ő -> ő
Ú -> ú
É -> é
Á -> á
Ű -> ű

Bilka
Factorio Staff
Factorio Staff
Posts: 3165
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.63] Controls settings confuses 'ö' with '0'

Post by Bilka »

Cannot reproduce. What is your system language and system keyboard set to? Is the keyboard layout that is set in your system the same as the one you physically use?
Image
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.63] Controls settings confuses 'ö' with '0'

Post by posila »

Ok, I figured it out. It is SDL2 forcing top row of keys to number keycodes. The comment says it is so that French AZERTY shows numbers instead of accent key. So I added check for Hungarian layout.

Fixed for 0.17.64

In case other developers google this problem:
https://github.com/SDL-mirror/SDL/blob/ ... ard.c#L129
https://github.com/SDL-mirror/SDL/commi ... 3b22bf2ec8

User avatar
Gergely
Filter Inserter
Filter Inserter
Posts: 599
Joined: Sun Apr 10, 2016 8:31 pm
Contact:

Re: [0.17.63] Controls settings confuses 'ö' with '0'

Post by Gergely »

posila wrote:
Wed Aug 07, 2019 6:20 pm
In case other developers google this problem:
Yeah I was about to google what SDL is before I read the links. This is the good old fashioned bug that appears right after fixing another.

Is the lowercase part intended (Not a bug) or is simply not worth the time it would take to fix? (Won't fix) I assume it is the latter because no one commented on it yet.

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.63] Controls settings confuses 'ö' with '0'

Post by posila »

Gergely wrote:
Thu Aug 08, 2019 5:25 am
Is the lowercase part intended (Not a bug) or is simply not worth the time it would take to fix? (Won't fix) I assume it is the latter because no one commented on it yet.
It's Won't fix.

Post Reply

Return to “Resolved Problems and Bugs”