Page 1 of 1

[Oxyd][for 0.17][Linux] Wrong default key bindings for "ru" layout

Posted: Mon May 01, 2017 8:19 pm
by FoxLBA
OS: Ubuntu 16.04

When I started Factorio with the Russian layout, I noticed that the default control is completely wrong.
For example, movement on "W S A D" was on "APOSTROPHE J Q R" keys.

Here is the [controls] section on config.ini after changing bindings on rigth keys:
Controls
Just in case i made a table for rebinding all (En->Ru) keys:
Table
P.S: Sorry for my English.

Re: [15.5][Linux] Wrong default key bindings for "ru" layout

Posted: Mon May 15, 2017 3:34 pm
by Klonan
FoxLBA wrote:OS: Ubuntu 16.04

When I started Factorio with the Russian layout, I noticed that the default control is completely wrong.
For example, movement on "W S A D" was on "APOSTROPHE J Q R" keys.

Here is the [controls] section on config.ini after changing bindings on rigth keys:
Controls
Just in case i made a table for rebinding all (En->Ru) keys:
Table
P.S: Sorry for my English.
Thanks for the report,

I do not think we use any special key bindings for different locales,
Are you sure this is has occured?

Can you reproduce the issue from a clean installation?

Re: [15.5][Linux] Wrong default key bindings for "ru" layout

Posted: Fri May 19, 2017 7:54 pm
by FoxLBA
Klonan wrote: Can you reproduce the issue from a clean installation?
Yes, I cam reproduce it on my computer and even on a virtual machine.

I use ubuntu 16.04 (real and virtual) and "Generic Linux tar package (64 .tar.gz or .tar.xz)" 0.15.12 (alpha).

Steps to reproduce:
1. Extract tar.
2. Run factorio first time. (Control options is fine)
step 2
3. Close factorio.
4. Add russian input source and switch on it.
step 4
5. Run factorion again (with ru layout)
6. Check control options (it uses cyrillic keys)
step 6
If you try to play then you will notice that the controls is unplayable(!).

------------------------
More steps:
7. Manualy change controls on right.
step 7
8. Close factorio.
9. Switch input on english layout.
10. Run factorio.
All controls changed on step 7 is "unknown".
step 10

What I expecting: key binding should be independent of the selected layout.

All screenshots made in freshly instaled ubuntu 16.04.02 on virtual machine.

Re: [Oxyd][15.5][Linux] Wrong default key bindings for "ru" layout

Posted: Fri Mar 09, 2018 3:47 pm
by Oxyd
This is an Allegro issue. Which means we should be able to fix it as part of the planned changes for 0.17.