Matthew-Linxcom / grafx2

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

Keyboard stops working after focus is changed #541

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using Windows 7 Pro 64-Bit.
Many times when I change focus of the application to something else, when I 
return to grafx2 the keyboard stops working.
This has happened with many versions.

It happens when I use Alt+Tab to switch applications and NOT when I click with 
the mouse on another app.

Original issue reported on code.google.com by k.dron...@gmail.com on 19 Sep 2013 at 3:34

GoogleCodeExporter commented 8 years ago
I've seen it in Windows XP too. When it happens, Grafx2 actually thinks the ALT 
key (from your alt-tab) is still being pressed, and this changes the meaning of 
all shortcuts. If you press and release Alt, situation gets back to normal.
Can you try  with the last SDL.dll ? 
http://www.libsdl.org/release/SDL-1.2.15-win32.zip
(overwrite the one in Grafx2\bin)
I tested on my side and couldn't reproduce the problem with this version of the 
DLL.

Original comment by yrizoud on 19 Sep 2013 at 6:44

GoogleCodeExporter commented 8 years ago
Totally nailed it. Pressing Alt fixed the issue and replacing the SDL DLL fixed 
it for good!

Original comment by k.dron...@gmail.com on 20 Sep 2013 at 2:52

GoogleCodeExporter commented 8 years ago
Well thank you for the report. We need to include the most recent SDL.DLL in 
future releases.

Original comment by yrizoud on 20 Sep 2013 at 3:22

GoogleCodeExporter commented 8 years ago
Hmmmm not really sure, but it might have just done the same again, even with 
the new SDL. I'll post again if I find the bug again.

Original comment by k.dron...@gmail.com on 20 Sep 2013 at 4:12