JME Demos and left alt-key


is the following behavior intended?:

start one of the official demos, choose windowed mode.

when the demo runs hit the left alt-key. now the whole application freezes. hit left-alt again and the app continues working.

specs: win xp home sp2, geforce 4 go, pentium m 2.4 ghz

this seems to happen only in windowed mode. fullscreen works fine.

one hint: if you press left-alt, for example in firefox, the menubar gets the focus…maybe this could be an issue…



The OS is causing this… you may be able to do something to consume the keypress, but we’re not too worried about it… yet. :slight_smile:

thnx for the quick answer!

i checked one of the lwjgl demos (org.lwjgl.test.opengl.FullScreenWindowedTest) and it shows the same behavior, so it seems related to lwjgl…

anyway, was just wondering what causes the problem…



Pressing either alt button in your web browser for example will give you an idea of what’s going on… pressing alt causes the file menu to be selected… in lwjgl there might not be an menu’s specified but there is almost always the upper left icon (move, restore, close, etc) which is probably what’s being selected.