google-code-export / codelinkv2

Automatically exported from code.google.com/p/codelinkv2
1 stars 0 forks source link

Rare: Game sometimes gets in state where any key press minimizes window. #600

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version: 2.0.8.9s Standalone
Platform: Windows 7 Professional 64-bit
User: PartyFlava

Summary:

Sometimes (very rarely) the game gets stuck in a state where any key pressed, 
anywhere in the game window, causes the game to minimize. This has happened to 
me twice. Once about a week ago, and once right now.

Details:

I do not know what triggers this but it has something to do with the game being 
minimized, as both times this occurred, I had just restored the game from a 
minimized state to full screen.

The only way to stop it from happening is to close the game entirely and 
restart it.

Tests:

At first I thought this was a one-off Windows issue and chalked it off to that. 
I have never seen that one in nearly 20 years of Windows software development 
but you never know. However, when it happened a second time, I came here to 
post this report.

The second time it happened I checked out the game in Spy++ to see if Windows 
was perhaps sending false keystrokes or minimize messages. I have confirmed 
that Windows is *not* sending erroneous key combinations, the game window is in 
fact receiving precisely the keystroke I pressed, and then minimizing the 
window from an internal command. This suggests that it is either an issue with 
the game or with the Flash player.

Additionally, I notice that when the window minimizes, the game plays the 
"click" sound that it plays when you minimize it from in the game. This seems 
to suggest that it is more a game issue than a Flash issue (although it could 
be Flash player sending the wrong keystrokes to the game).

If I am able to come up with steps to reproduce this, I will post them here.

Original issue reported on code.google.com by jason.ci...@gmail.com on 3 Oct 2013 at 12:25

GoogleCodeExporter commented 9 years ago
Sorry I keep mixing up the version numbers. 2.0.9.8s. Also, pressing Esc also 
minimizes the game in this state, and each time Esc is pressed a new options 
window is opened without the old one closing. It is not a simple graphics 
redraw issue as the graphics are still updated and the "Save" button on all 
options windows change text simultaneously when the game is saved - plus I can 
drag the options windows around individually. See attached screenshot.

Original comment by jason.ci...@gmail.com on 3 Oct 2013 at 12:35

Attachments:

GoogleCodeExporter commented 9 years ago
I found that I am able to consistently reproduce this simply by using F11 to 
minimize the window from fullscreen mode. After I restore the window, the game 
is in this state.

1. Start game (it will be in fullscreen mode).
2. Login.
3. Press F11.
4. Restore window by clicking its icon in task bar.
5. Press any key - window will be minimized again. Effect is persistent. Only 
way to stop is to exit program and restart.

Original comment by jason.ci...@gmail.com on 3 Oct 2013 at 3:21

GoogleCodeExporter commented 9 years ago
Possibly related: Game sometimes gets in a state where any key pressed shows 
the options dialog, as if escape were pressed. However, this only happens once 
(after pressing any key, when the options dialog shows, everything behaves 
normally after that). Not sure how to reproduce. This has happened to me about 
a dozen times but its fairly minor. Fairly sure this has always happened at 
some point after I intentionally open and close the options window, it has 
never happened totally out of the blue.

Original comment by jason.ci...@gmail.com on 3 Oct 2013 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by codelin...@gmail.com on 7 Oct 2013 at 3:23