when a tooltip is visible, hiding the guielement that the tooltip belongs to does not hide / erase the tooltip.
hiding the fileopen dialog that is modal does not hide the dialog. maybe fixed in 1.7 already?
not overly important, but some things I have noticed recently.
hiding a guielement
Thanks. I can reproduce the tooltip staying visible. (How did you stumble upon this? Do you hide elements as soon as the user tries to find out what they are doing?) ;-)
Hiding fileopen dialog seems to work, so it's probably fixed by now.
Hiding fileopen dialog seems to work, so it's probably fixed by now.
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
I just assume that the user wont understand what he is trying to do anyways
in reality, the demo code we are using allows you to hit the escape key to bounce back to the main menu screen. this action hides all of the guielements that the game loaded (game objects add guielements to the screen) and then we use a seperate smgr for the menu's. this of course allows the user to have the mouse over a guielement (spell icon) and then hit escape, which takes him to the menu, but leaves the tooltip hanging.
Seven
in reality, the demo code we are using allows you to hit the escape key to bounce back to the main menu screen. this action hides all of the guielements that the game loaded (game objects add guielements to the screen) and then we use a seperate smgr for the menu's. this of course allows the user to have the mouse over a guielement (spell icon) and then hit escape, which takes him to the menu, but leaves the tooltip hanging.
Seven
Hm, that turns out to be harder to fix than expected. It also showed some other problems with tooltips.
I fixed it for the easy cases in 1.7 trunk (along with some other problems). Which means - if you remove it or hide then it will work now. But the hard case here is that it doesn't know if you hide or remove a parent. That probably needs some more functions in IGUIElement first, which I can't add to the 1.7 branch. Also I need to think more about that.
I fixed it for the easy cases in 1.7 trunk (along with some other problems). Which means - if you remove it or hide then it will work now. But the hard case here is that it doesn't know if you hide or remove a parent. That probably needs some more functions in IGUIElement first, which I can't add to the 1.7 branch. Also I need to think more about that.
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