Helion
Helion copied to clipboard
User can take a screenshot while remapping screenshot key
Apologies in advance for what is very obviously a pedantic, nitpick bug, but I couldn't not file this one. 🤣
Repro steps:
- Launch Helion using any IWAD
- Open main menu, go to Options
- In the key binding section of the options menu, find the "screenshot" item.
- Select it and press Enter to edit the key binding
- Press the same key as whatever is currently mapped Expected: The menu should accept your key binding and exit "edit mode", even though there is no "real" change. (This is how every other function on the key binding menu behaves, so I assume this is the desired behavior.) Actual: It stays stuck in edit mode and takes a screenshot instead of binding the key.
Likely introduced by ff4db904663d731f03093b4c9a9820cdd395643f
lol yeah that's a good one. Simple enough fix and done this morning.
It now leaves edit mode but still takes a screenshot. Is this the intended behavior? I could construct an argument either way, so I figured it best to confirm before closing this.
I am currently synced to a102ced96bd3c383720e1054db4db3afb15968a5, in case you have other related changes you haven't pushed yet.
Oh I didn't notice it was still executing the screenshot. It probably shouldn't. The function that accepts the binding must not eat the key. I will have to investigate more next time.
In a somewhat related point, if you have keys that are dedicated to automap manipulation, you'll get error messages if you press them when the automap isn't raised.
I have the arrow keys bound to directional movement, and WASD bound to the automap scroll functions. If I press W in-game without the automap open, I get this: