Page 1 of 1

[Twinsen] [2.0.10] Remapping hotkey for Select next/previous surface does not always prevent arrow keys from working

Posted: Thu Oct 24, 2024 4:41 pm
by Eluvatar
I use the arrow keys for walking around, as such the default hotkey for "Select next surface" and "Select previous surface" being up and down arrow keys conflicted with moving around in map view. So I found the hotkey and rebound them to Page up and Page down. However sometimes the arrow keys still switch the surface that I'm viewing.

I would expect that unbinding the hotkeys would make those buttons not trigger those actions. I would like the arrow keys to move around the camera instead of changing surfaces.

OS: Windows

Steps to reproduce:
  • change keybind for "Select next surface" and "Select previous surface" to page up & page down (the keys you bind to probably don't matter)
  • click the map with the mouse
  • press up and down arrow, notice they don't change the surface, as expected
  • use click on a different surface in the "Surfaces" window in the top right (required), do not click anywhere else after the fact, it seems that this window stays "focused"
  • now up and down arrow keys will switch surfaces as they did before unbinding the keys, this is the bug and unexpected!
the only workaround is to close the map and open it again, then it's back to working as expected, then just don't use the "Surfaces" view. In testing this I noticed that the issue is likely that the window is focused and the arrow keys are changing that focus which just happens to be the previous behavior.

Re: [2.0.10] Remapping hotkey for Select next/previous surface does not always prevent arrow keys from working

Posted: Wed Oct 30, 2024 4:02 pm
by Rseding91
Thanks for the report. This looks like the generic logic of the list-view widget reacting to the arrow keys to select previous/next.