Post new topic    
Slime Knight
Send private message
Quirky bug in game.exe 
 PostTue Mar 09, 2010 2:43 am
Send private message Reply with quote
Here's a weird one: I'm playing game.exe windowed, and if I alt+tab to a different window then alt+tab back to game.exe, the main menu appears (since I pressed alt) and goes wild until you press alt again. Don't know if this is just a Windows 7 thing or what but it's definitely weird.
Super Slime
Send private message
 
 PostTue Mar 09, 2010 3:31 am
Send private message Reply with quote
Probably a keyboard handling issue. When I do the same thing on my laptop, it acts as if I were holding down Alt. I've had this happen in CUSTOM.
Mega Tact v1.1
Super Penguin Chef
Wizard Blocks
Metal Slime
Send private message
 
 PostThu Mar 11, 2010 2:12 am
Send private message Reply with quote
Ah yes, I've seen this too. Windows 7 laptop as well.
I am Srime
Liquid Metal King Slime
Send private message
 
 PostThu Mar 11, 2010 6:39 pm
Send private message Reply with quote
This is because the keyup event for Alt is being lost. This is probably a bug with SDL+Windows7

On my Linux box, switching windows with Alt+Tab does indeed bring up the menu, but when I switch back it does not behave like the alt key is stuck.

A future version of SDL will probably have its own bugfix for this, although perhaps we can find a workaround before then.

I would be curious whether or not the gfx_fb backend does the same thing.

You can try it by running:

Code:
game.exe -gfx fb
Display posts from previous: