PDA

View Full Version : Disappearing window




Dreamspinner
Mar 19, 2013, 06:39 PM
My OS X app has a main window and a preferences window. Both are modeless.

If a window from another app is brought over the preferences pane, it disappears. It's not behind the covering window, it's gone.

Finding the main window and clicking that brings back the preference pane and so does clicking the icon on the dock.



Sydde
Mar 20, 2013, 08:48 AM
Look at the nib settings for the window, there is one that governs this behavior (I think it is or was something like "Hides on Deactivate").

Dreamspinner
Mar 20, 2013, 08:50 AM
Look at the nib settings for the window, there is one that governs this behavior (I think it is or was something like "Hides on Deactivate").

Thanks. I tried that and it makes the window modal. Works for the main window though.

robbieduncan
Mar 20, 2013, 08:52 AM
Is it a window or a panel?

Dreamspinner
Mar 20, 2013, 06:53 PM
Is it a window or a panel?

I suppose it's a panel. Inspector has panel up top, window below that.

robbieduncan
Mar 21, 2013, 05:09 AM
I suppose it's a panel. Inspector has panel up top, window below that.

If it's a panel you are seeing the expected, documented, behavior.

Dreamspinner
Mar 21, 2013, 05:14 AM
If it's a panel you are seeing the expected, documented, behavior.

Oh SNAP! OK, Thanks.