pressing ALT causes lags?!
-
- Posts: 34
- Joined: Sat Mar 08, 2008 12:46 pm
- Location: Germany, FFM
- Contact:
pressing ALT causes lags?!
hey everyone.
i have a misterious bug in irrlicht, every programm i write has the same bug.
everytime i run a programm, everything works fine. but at the time you start to press [ALT], the programm gets slower and slower, and finally stops. it takes a few seconds (depends on how long you pressed ALT), and it goes on.
i don't know if im the only one who has this bug, maybe its caused by my hardware (keyboard or whatever), but i would appreciate if someone would test it on his computer...
thanks so far.
i have a misterious bug in irrlicht, every programm i write has the same bug.
everytime i run a programm, everything works fine. but at the time you start to press [ALT], the programm gets slower and slower, and finally stops. it takes a few seconds (depends on how long you pressed ALT), and it goes on.
i don't know if im the only one who has this bug, maybe its caused by my hardware (keyboard or whatever), but i would appreciate if someone would test it on his computer...
thanks so far.
if life could only be written in C++...
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
I can't reproduce that here. Which irrlicht version, which OS and which renderer are you using?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 34
- Joined: Sat Mar 08, 2008 12:46 pm
- Location: Germany, FFM
- Contact:
i have WIN XP, irrlicht 1.4, and it happens with every renderer, no matter if openGL, directX or software.
but it doesnt happen this way with other programs (written by people in this fourm) i downloaded. but the problem there is, for example, that if you move through a level with [W], and press [ALT], the players node wont stop moving untill you release [ALT], no matter if [W] is still pressed...
its so strange i dont understand it...
maybe it is a keyboard problem? i have a wireless keyboard and mouse (both logitech, but different receivers)?!
but it doesnt happen this way with other programs (written by people in this fourm) i downloaded. but the problem there is, for example, that if you move through a level with [W], and press [ALT], the players node wont stop moving untill you release [ALT], no matter if [W] is still pressed...
its so strange i dont understand it...
maybe it is a keyboard problem? i have a wireless keyboard and mouse (both logitech, but different receivers)?!
if life could only be written in C++...
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Does it happen in the SDK sample apps?
If not, can you please post a minimal example that shows it happening.
If not, can you please post a minimal example that shows it happening.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
- Posts: 34
- Joined: Sat Mar 08, 2008 12:46 pm
- Location: Germany, FFM
- Contact:
i tried it with the collision example, wich is in the \bin\win32-visualStudio folder. and yes, it starts lagging.
do you want to see a video or what do you mean ?
do you want to see a video or what do you mean ?
if life could only be written in C++...
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
I still can't reproduce the lag, but I also get the other problem that the movement in the collision example won't stop when you press alt before releasing the movement button. So that problem seems to be a bug.
No idea why it does get slower for you. Maybe you have some other functionality mapped onto the alt-key on your computer?
No idea why it does get slower for you. Maybe you have some other functionality mapped onto the alt-key on your computer?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Wouldn't the alt-key on windows system just try to access the windows system menu? (Eg, Close, Move, etc). This happens fullscreen sometimes too, so you don't actually see the menu pop-up.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Posts: 34
- Joined: Sat Mar 08, 2008 12:46 pm
- Location: Germany, FFM
- Contact:
good idea... but why does it lag only with programs compiled on my computer?
and for example in computer games wich i bought (battlefield or whatever) it doesnt lag or cause problems at all, so i think it is a weird thing caused by the irrlicht engine...
and i am very sure i have no other functions on [ALT], because i wrote my own event handler, and all it can use is WASD + - and the mouse.
and also the camera is not a -FPS, but an usual ISceneNodeCamera, so it wont do anything, if not moved by my event handler.
and for example in computer games wich i bought (battlefield or whatever) it doesnt lag or cause problems at all, so i think it is a weird thing caused by the irrlicht engine...
and i am very sure i have no other functions on [ALT], because i wrote my own event handler, and all it can use is WASD + - and the mouse.
and also the camera is not a -FPS, but an usual ISceneNodeCamera, so it wont do anything, if not moved by my event handler.
if life could only be written in C++...
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
-
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
If you use the Built in cameras (maya or FPS) if you press ALT (for me at least) it will pause the game completely until I hit it again... I didn't think this was a bug.. more of a feature!
Post this userbar I made on other websites to show your support for Irrlicht!
http://img147.imageshack.us/img147/1261 ... wernq4.png
http://img147.imageshack.us/img147/1261 ... wernq4.png
-
- Posts: 34
- Joined: Sat Mar 08, 2008 12:46 pm
- Location: Germany, FFM
- Contact:
but why does it still happen?
i dont use a fps or maya cam
it must happen somewhere else in the engine...
i dont use a fps or maya cam
it must happen somewhere else in the engine...
if life could only be written in C++...
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
so much features, money++, remove_childs(), choose parents, life = new life, and no more <IDIOT> templates !
if you're looking for an nerdy coding language: http://lolcode.com/
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Urgh, that's nasty behaviour with the FPS camera under Windows. There's nothing in Irrlicht that handles the ALT key (KEY_MENU) specially. Possibly that's the problem - there should be something that handles it.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
http://irrlicht.sourceforge.net/phpBB2/ ... 359#146359
This post by me shows how to add support for Win Keys and F10, which in Windows acts as if pressing alt (activates the window menu). Even if the menu is hidden, it still exists. Adding Alt catches (I'm going to do this in 3Demon), is very simple.
This post by me shows how to add support for Win Keys and F10, which in Windows acts as if pressing alt (activates the window menu). Even if the menu is hidden, it still exists. Adding Alt catches (I'm going to do this in 3Demon), is very simple.