What OS version are you using? The earlier incarnations (before Tiger 10.4) of Studio were a bit buggy.
That said, I’ve never had that problem with an app. Try posting some more information, maybe we can help. Also, try compiling some of the examples that Apple provides and see if you get the same result.
I have seen this a few times too. If a whole window, or just a portion of a window, is obscured by another window all of the elements which were out of view become invisible. I’ve noticed it with all recent versions of xcode/osx that I’ve run, so I’m not sure that it’s necessarily an old vs. new software issue. If I click or drag in the window the elements always become visible again. Here are some questions…
Does it happen every time… or was it just once?
Xcode and osx version may be an issue… what versions are you running?
What’s your build style? ‘Debug’ apps are run differently than ‘Release’ apps. Try building as a release app.
Have you altered any of the window settings in IB or use a custom subclass for the window?
If you create ANOTHER new project do you see the same behavior?
If you click around in the window do the elements become visible again?
If you bring another window on top of only half of the window, does only that half of the window become invisible?
This seems to happen every time. On my latest build, I can reproduce it by switching between my app and another app exactly three times.
Latest Tiger (10.4.8) and Latest Xcode (2.4.1)
I am building releases.
Most windows settings are default, except I made it a brushed metal window. No custom.
I see this in none of the ASS example projects. I did however recreate this app in a new project from scratch rewriting the script and redoing the UI and got the same thing.
As you can see from the screenshots just the checkbox and part of a button stay visible, and moving or clicking around in the window does not bring back the other UI elements.