Page 1 of 1

[Logged] Game speed and pause/unpause keys often lose focus

Posted: Mon Nov 25, 2019 11:42 pm
by sekullbe
I've noticed that very often popup menus or the right-side status/orders bar are stealing the space, enter, and +/- keys. This usually results in me making some change, waiting a bit, and flailing away on the space bar while something I wanted to pause and deal with goes whizzing by. I see how the game is using the default Windows key commands in some places which steals focus from the map, but is it possible to set up a pause or real-time button that's guaranteed to work in all circumstances?

RE: Game speed and pause/unpause keys often lose focus

Posted: Tue Nov 26, 2019 12:26 am
by marksdoran
I've developed the habit of always left clicking on the main map window after doing more or less anything with another window -- for precisely the reason stated above. I agree it's a bit of a nuisance to have to worry about actively managing focus though.

RE: Game speed and pause/unpause keys often lose focus

Posted: Tue Nov 26, 2019 10:15 am
by sekullbe
That's what I do as well now. I've also seen some kind of focus issue with popup event messages- I have to click close several times to get it to register. I suppose the OS is treating the window as a totally separate element so I have to click once to focus it, with the click not making it through to the button, then again to make the button register the click.

UI is a tricky beast- it feels almost whiny to say "I had to click twice" but something that takes away flow can be really annoying in practice :)

RE: Game speed and pause/unpause keys often lose focus

Posted: Tue Nov 26, 2019 2:21 pm
by marksdoran
Focus should be totally controllable from the code, at least as long as it is not moved to a window that's part of a different application. But this is one of the reasons why writing UI code is one of my least favorite things: it's a lot of work to get it just to look right and do what you want it to do. Then on top of that you have all the user experience concerns (like how to manage focus so it's not annoying ;)). UI code to me always feels like a giant bug generator

RE: Game speed and pause/unpause keys often lose focus

Posted: Thu Nov 28, 2019 1:38 am
by Rory Noonan
Updated existing ticket

RE: Game speed and pause/unpause keys often lose focus

Posted: Fri Nov 29, 2019 7:40 am
by JamesHunt
It would be great to have the pause/time hotkeys work globally. Together with the seperate message log stealing the focus issue, the hotkeys at times can become basically unusable.

Would also be great to be able to use them when the TacView (fullscreen) window is active.

RE: Game speed and pause/unpause keys often lose focus

Posted: Thu Jan 16, 2020 8:21 am
by michaelm75au
Are the hotkeys working better now under beta 1121.5?