News:

If you are a developer, please build MegaGlest on your own and get in touch to contribute (or post your patches on the forums).

Main Menu

[fixed] r2711: Windows 7: Application switching (Alt-Tab) breaks shortcut keys

Started by Coldfusionstorm, 27 October 2011, 18:10:37

Coldfusionstorm

On windows 7, when after tabbing out and then in a game you will need to press alt-enter to enable keyboard again, you can chat if i remember correct but no shortcuts will work and the lobby chat wont work either. This issue also affects earlier revisions (but it's unclear whether it also affects v3.5.2).

MY grpaphic gard is Nvidia
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

I am unable to reproduce this, could you re-explain each exact step and expected vs actual behaviour?

Thanks

Coldfusionstorm

Just Alt-Tab, when tabbing in again short cuts are kinda disabled, fx, K wont work. il post a a little more detailed post later
WiP Game developer.
I do danish translations.
"i break stuff"

softcoder

This bug is actually due to a bug in SDL (on windows 7 SDL is telling us that the ALT or CTRL keys are pressed when they are not). I will see what i can do to work around this.

UPDATE:

After checking around I found this: http://hg.libsdl.org/SDL/rev/090d764c56e4

So I have applied this patch to our Windows SDL win32_deps and problem solved (all windows people who compile need to download the newest win32_deps from sourceforge to get the patched SDL libs)

Link to updated 7z on sourceforge:
http://sourceforge.net/projects/megaglest/files/win32_deps.7z/download