"Toggle Menu" keybind not working as expected

Bugs that are actually features.
Diadem
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Nov 24, 2024 4:17 pm
Contact:

"Toggle Menu" keybind not working as expected

Post by Diadem »

I was playing around with keybinds trying to make it possible to go to the menu while in map view, and noticed something strange. If you bind an extra key to the "toggle menu" keybind, then go to map view view and press that key, it won't open the menu, it'll instead close map view.

The escape key by default has two functions, which are "close current popup" and "toggle menu", and binding a new key to the "toggle menu" key bind seems to add it to both of these functions, causing this behavior.

This effectively makes it impossible to go the game menu from the map view. That's not something game breaking, but it is still rather annoying, as not only is it useful to be able to save the game or change settings without disrupting your workflow, but it's also a very convenient way of pausing the game.

As an aside: It would awesome if the map view didn't count as a popup, so esc doesn't close it. But that's more of a feature request than a bug report.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16080
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: "Toggle Menu" keybind not working as expected

Post by Rseding91 »

Thanks for the report. That is currently intended. "Toggle menu" is used to close the remote view which is the same as the map view and so it first does that instead of opening the menu. If it didn't, then toggle-menu would never be able to exit remote view.
If you want to get ahold of me I'm almost always on Discord.
Diadem
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sun Nov 24, 2024 4:17 pm
Contact:

Re: "Toggle Menu" keybind not working as expected

Post by Diadem »

But "Go to game menu" and "close current popup" are two entirely different functionalities. Having them both under the same key bind is undesirable, because, like I said, it's now not possible open the menu from map view (or any other popup. But that's less of an issue since you spend less time in those), which means it's not possible to change any settings, save the game, or even pause the game while in map view.

If this is really intended behavior then, well, I guess this is in the wrong forum and should be under feature requests. Because regardless of intent it's a bit of a UI fumble.

Game version is 2.0.20 by the way. Forgot to include that with my original post.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3237
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: "Toggle Menu" keybind not working as expected

Post by BlueTemplar »

See also :
viewtopic.php?p=632007#p632007

(Though I really should have made that a separate suggestion...)
BobDiggity (mod-scenario-pack)
Post Reply

Return to “Not a bug”