A GUI Bug for CGUIImage?

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Yusaku
Posts: 8
Joined: Sun Jun 10, 2007 3:43 am

A GUI Bug for CGUIImage?

Post by Yusaku »

I added 2 images and several controls like buttons or scroll bars to my program, and found after a couple of operations, the program will never response to any GUI events.

Finally, I found the problem in CGUIEnvironment::postEventFromUser and the value "Focus" is one of my images. Since CGUIImage doesn't override OnEvent in IGUIElement, it won't set event as EET_GUI_EVENT -- that's the reason why after some operations (within these, focus was set to one of my images), I can't get GUI event...

Is this a bug? Or I missed some point when I used Irrlicht GUI elements? Thx for your help!
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Are you using version 1.3.1? That had some focus problems which are already fixed in svn and will be solved in the next version.
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
Yusaku
Posts: 8
Joined: Sun Jun 10, 2007 3:43 am

Post by Yusaku »

My version no. is 1.3... I'll get newest version from SVN later, thx!
Post Reply