Page 1 of 1

[1405CIV] Spacebar does not continue the game (when another window has focus)

Posted: Sun Aug 18, 2024 7:24 am
by morphin
Hi
After a popup you could continue the game with spacebar, but this doesnt work current Beta on Steam. I use this very often

Thank's

Re: [1405CIV] Spacebar does not continue the game

Posted: Mon Aug 19, 2024 6:29 pm
by Raptorx7_slith
Hi morphin, I'm unable to reproduce this, are you sure you make Command the active window again every time it happens? It might just take a single mouse click if the game or message log gets unfocused

Re: [1405CIV] Spacebar does not continue the game

Posted: Mon Aug 19, 2024 7:26 pm
by morphin
Yes. It is very easy to reproduce. You start a savegame and wait for the popup to occur. Then you pres the spacebar (No movment of mouse or any keyboard after starting). The popup does not disapear and the game does not going on....

->Alternative you can click once on the popup message (The Title Text on the poup will be in white), den spacebar and nothing happens

Re: [1405CIV] Spacebar does not continue the game

Posted: Mon Aug 19, 2024 7:32 pm
by morphin
So after the popup popped up it has automatic the focus
Screenshot 2024-08-19 212754.png
Screenshot 2024-08-19 212754.png (980.68 KiB) Viewed 444 times
->Title of poup in white. So focues is automatic on the popup. Spacebar does nothing

If popup loose focues (you click next to the popup) then the Title text will be darker and then you can continue the game with spacebar:
Screenshot 2024-08-19 213204.png
Screenshot 2024-08-19 213204.png (979.74 KiB) Viewed 444 times

Re: [1405CIV] Spacebar does not continue the game

Posted: Mon Aug 19, 2024 7:34 pm
by morphin
so it cumbersome to click next to the popup (or click "Close and Resum") every time a popup occures. Spacebar was much quicker..... Thank's to fix this

Re: [1405CIV] Spacebar does not continue the game

Posted: Mon Aug 19, 2024 9:30 pm
by Dimitris
Hmmm... so you want keyboard events to not be limited to the UI control/window that currently has focus, but to also apply to the map & main window as if they themselves had focus.

Do you realize the slippery slope?

If not, allow me to present this bug report from the future:
I was just typing up the scenario description or mission briefing on this window, and suddenly the group I had selected on the map was dissolved!!!

Yes, my text included the letter D, why do you ask?

Re: [1405CIV] Spacebar does not continue the game

Posted: Mon Aug 19, 2024 10:06 pm
by thewood1
i-can-see-5abe43.jpg
i-can-see-5abe43.jpg (26.1 KiB) Viewed 412 times

Re: [1405CIV] Spacebar does not continue the game (when another window has focus)

Posted: Tue Aug 20, 2024 9:45 am
by blu3s
What was happening before is that, pressing the space bar resumes the scenario, not that it was the equivalent of close + resume the window, but it had the same effect. This could cause that having other windows open pressing some key would interact on the main window and not on the pop-up window.

Re: [1405CIV] Spacebar does not continue the game (when another window has focus)

Posted: Tue Aug 20, 2024 12:38 pm
by morphin
Common, I see that was maybe intentional, but at least ESC (or other key) to close the popup should be implemented.
I'm working intensiv with Popups and this Beta i'm not able to play efficency.
And i can hardly image that Spacebar has any Input on any Popup that occures (While playing i have never seen any editable popup that appears automatically......) But if you know one that i'm happy to know which one :D

Thank's

Re: [1405CIV] Spacebar does not continue the game (when another window has focus)

Posted: Tue Aug 20, 2024 9:37 pm
by Dimitris
"Esc" to close any secondary window (and return focus to the main window & map) might be an interesting one. In fact I'll need to check if we already do something like that.

Re: [1405CIV] Spacebar does not continue the game (when another window has focus)

Posted: Tue Aug 20, 2024 9:39 pm
by thewood1
Esc works for some, but not all windows.