Is it IGUIComboBox's bug?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
WarStomp
Posts: 5
Joined: Sat Nov 18, 2006 2:25 am
Contact:

Is it IGUIComboBox's bug?

Post by WarStomp »

Hello.

I found IGUIComboBox's wrong working.

At first, I clicked IGUIComboBox's small button, and IGUIComboBox droped down rectangle showing items.

If clicked other place, the rectangle disappear.

But, if clicked other place after scroll bar moving, All working was stopped.

Just Windows cancel button is alive.

Is it BUG?

For reference drop down menu is overlaping another GUIButton.

Please give me a wisdom.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

This is a bug in Irrlicht 1.3. It is fixed in SVN.
In CGUIEnvironment.cpp, in CGUIEnvironment::setFocus(), add the following code after line 170:

Code: Select all

	// GUI Environment should not get the focus
	if (element == this)
		element = 0;
and recompile Irrlicht :)
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
WarStomp
Posts: 5
Joined: Sat Nov 18, 2006 2:25 am
Contact:

t_t

Post by WarStomp »

no....-_-;;; it is not solved.

one time moving ComboBox's scroll, All GUI can't receive message.

Stop all GUI operation.
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

I'm pretty sure that you are running into the exact problem that bitplane is talking about.

You would need to make the above change, rebuild the Irrlicht.dll and then make sure that the new dll was found when you ran your program. If you don't do all of these things, then there is no chance that it will start working.

Travis
Post Reply