Page 1 of 1

[posila] [0.17.53] Mac right <ctl> key not recognized by train GUI

Posted: Tue Jul 02, 2019 5:41 am
by GoldfieldGeek
On a mac, the left and right modifier keys are distinguishable. In most cases this makes little difference.
However, in the case of the train GUI, when trying to select a temporary station for a train to path to, the left <ctl> key works, and the right <ctl> key does not.

Re: [0.17.53] Mac right <ctl> key not recognized by train GUI

Posted: Tue Jul 02, 2019 8:57 am
by posila
Thanks for the report.

This is not macOS specific. When modifier keys are not used as modifiers (the shortcut doesn't contain any other key or mouse input that would be "modified" by the modifier key), they are being treated as different, so they can be used for different things (they could be distinguished also when used as modifiers but we don't do that for whatever reason).

As it is not, you can bind "Temporary station modifier" to any complex shortcut (ie. Ctrl + Shift + S, or just S for that matter - even though that has its own problems) and I don't see reason to limit it to modifier keys just so the binding is actually treated as a modifier key.

So, for 0.17.54 I've added "Right Control" as a default secondary binding for the "Temporary station modifier" option.