[1.1.76] Mac + AZERTY: undo closes game

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
Dari
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 16, 2023 11:10 am
Contact:

[1.1.76] Mac + AZERTY: undo closes game

Post by Dari »

What did you do?
During gameplay (macOS Big Sur 11.7.4 on Intel processor, game version 1.1.76, build 60350, mac-x64, default language—note this behavior is present since a few months, but I am not sure when precisely), perform any cancellable action (e.g. stamping a blueprint), hit the default "undo" shortcut (which should be "cmd+z", but is actually "cmd+w", and the game closes instantly, without warning or saving.
What happened?
The game closed, and I lost my actions since the last (auto)save.
What did you expect to happen instead? It might be obvious to you, but do it anyway!
My action gets cancelled, and the game does not quit. If the games has to quit for any reason, ask me to save first!
Does it happen always, once, or sometimes?
It always happen.

Koub
Global Moderator
Global Moderator
Posts: 7199
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: [1.1.76] Mac + AZERTY: undo closes game

Post by Koub »

Actually, this looks more like a suggestion for a suboptimal design, rather than a bug.
[Koub] Moving this to Ideas and suggestions for now.

Can't reproduce anything similar with my Windows PC, the default shortcut for undo undoes without quitting. Must be a Mac thing.
Koub - Please consider English is not my native language.

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

Re: [1.1.76] Mac + AZERTY: undo closes game

Post by posila »

Implemented for 1.1.78
There are special default valus for AZERTY keyboards, as Z is move up and on PC with QWERTY layout the undo defaults to Ctrl + Z, which is reasonable combination of keys to press during normal gameplay (move up & ctrl + click things to transfer stacks of items). So, default shortcut for Undo is Ctrl + W when AZERTY layout is detected, to prevent accidental undos. Since on macOS Cmd + W is OS shortcut to close the front window and Cmd + Z doesn't seem to collide with the normal gameplay, I disabled this special AZERTY behavior on macOS builds.

Dari
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 16, 2023 11:10 am
Contact:

Re: [1.1.76] Mac + AZERTY: undo closes game

Post by Dari »

Thanks, you guys are awesome :)

Post Reply

Return to “Implemented Suggestions”