[2.0.11] Open character screen key binding is not respected for closing

Bugs that are actually features.
edburgos
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Oct 26, 2024 11:21 am
Contact:

[2.0.11] Open character screen key binding is not respected for closing

Post by edburgos »

I changed the binding for the "Open character screen" action to "Mouse button 4", this works as expected for opening the screen but it still requires E (or ESC) to be pressed for closing it. I would've expected the new binding to be used for closing it as well instead of the original (E).

I tried re-biding to a different key in case it may be related to the mouse buttons but it still required E to close.
I also tried keeping the original E binding and adding a secondary binding to "Open character screen", didn't work.

Interestingly, if I re-bind the Toggle menu key (ESC by default) to a different key. When I open the character screen and hover over the 'X' it shows E or <the new key> to close. So, it appears that the close key is taken from the control bindings while the E key is hard-coded.
Attachments
Menu still expects E to be used for closing even though it's not bound
Menu still expects E to be used for closing even though it's not bound
E_to_close.png (496.66 KiB) Viewed 177 times
Switched binding to Mouse button 4
Switched binding to Mouse button 4
key-bindings.png (41.08 KiB) Viewed 177 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16084
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.11] Open character screen key binding is not respected for closing

Post by Rseding91 »

Thanks for the report. The open key is not the same as the close for GUIs.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”