GeneralsGamePatch
GeneralsGamePatch copied to clipboard
Pressing ALT key in Windowed Mode stops the game update
Pressing ALT key in Windowed Mode stops the game update. Pressing ALT key a second time will return update. ALT key possibly is forwarded to Window Post Message where it would select window menu. This needs to be disabled. Does not happen in full screen.
F10 key causes same behavior. Likely similar or same cause.
I am 99% sure this is the reason this happens: You press down ALT + TAB
The game can only detect key input while the game window is being focused.
So the game detects: ALT key down TAB key down
Focus of window is now lost, you let go of the keys and these two inputs are not detected by the game window: ALT key released TAB key released
Now when you re-focus the game window, the game engine thinks you are still holding down ALT and TAB.
That's why you can fix it by clicking ALT again after the window has been re-focused.
The TAB key release event not being detected doesn't matter because unlike ALT the TAB key is not a modifier key, thus not affecting other key inputs.
In order to fix this you need to achieve that the game detects ALT key release even when the window is not focused.
You can prevent this entirely from happening to you by using the Windows key instead of ALT +TAB to release focus from game window. The game engine doesn't seem to know what the windows key is and ignores it.
As a dev who constantly ALT + TABs I hate this bug a lot please fix oki thx bye :<
This report is not about ALT+Tab. Just ALT.
This happens with Just pressing the ALT key alone, you don't need the TAB key to reproduce this issue
Wow I never even noticed the ALT behaviour. Btw this doesn't happen if you use ALT GR instead of ALT to make waypoints.
Is the issue I have described above the same issue or should it be tracked too?
There is an issue report for ALT Tab too.
A few details: It happens when you let go of ALT and don't combine it any other key or mouse button.
Possibly related, pressing ALT+Tab then returning into the game locks you into waypoint mode until alt is pressed, then released again. Probably game not catching the Alt KeyUp event (or whatever it's named in SAGE). Ideally waypoint mode would be reset on tab in.