[no bug] Starting Irrlicht doesn't run in foreground

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
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

[no bug] Starting Irrlicht doesn't run in foreground

Post by erwincoumans »

When starting Irrlicht demos from the Xcode IDE, the Irrlicht demo window starts hidden behind XCode. Still it grabs all keyboard and mouse input, making it very hard to do anything at all.

How can this be solved? Is there a way to make Irrlicht always start in the foreground in Mac OSX, when starting from XCode?
Thanks,
Erwin
Last edited by erwincoumans on Sun Oct 18, 2009 8:25 am, edited 1 time in total.
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

Post by erwincoumans »

Anyone?

Is there some method to call to force the Irrlicht 3D window becoming foreground?

Thanks,
Erwin
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Moving to bug reports
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
ecsos
Posts: 30
Joined: Mon Feb 04, 2008 8:02 am

Post by ecsos »

i believe if there is no console input required then it doesn't do this..i'll test later
DavidJE13
Posts: 165
Joined: Tue Jan 09, 2007 7:17 pm

Post by DavidJE13 »

This has never happened to me. I build from an empty project and don't open a terminal at all, so I think you're right about the cause.

As for forcing it to be foreground, I'm not too good with OSX windowing but can't you get a window handle and use the os functions?
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

Post by erwincoumans »

Actually I realized that the cmake build system CMakeList.txt files I use for the gamekit project doesn't include the .NIB files. That is likely the problem for the background issue and also the lack of keyboard input.

A related posting on integrating .NIB files using cmake is here:
http://www.cmake.org/pipermail/cmake/20 ... 24920.html

I'll have to digg deeper and see if that helps. So it is likely not an Irrlicht issue.

Cheers,
Erwin
erwincoumans
Posts: 46
Joined: Tue Oct 02, 2007 6:46 am
Contact:

Post by erwincoumans »

Creating a bundle, and added the NIB file fixed it. It was a bit of a hassle to get this done in cmake, but eventually it worked. (fixed in SVN revision 53 of http://gamekit.googlecode.com)

Cheers!
Erwin
Post Reply