Bug with NSWindow's addChildWindow: and removeChildWindow: ?
Fabian Schuiki
fabianschuiki at bluewin.ch
Tue May 29 05:04:55 PDT 2007
Hi,
I'm using addChildWindow: and removeChildWindow: to create sort of a
window cascade. The problem is that if I connect a couple of windows
usign addChildWindow: and then rip the cascade apart somewhere in the
middle, the ripped off windows behave quite strange, i.e. the window
ordering doesn't work anymore (upper window is throwing shadows upon
the other).
Is this a known bug?
Here a few screenshots to illustrate the problem:
I have a couple of windows:

Which I connect to each other (i.e. using addChildWindow: to create a
cascade):

And when I rip off the lower two windows (i.e. calling the topmost's
removeChildWindow: with the window in the middle as argument) the
ripped off windows start to behave quite strange:

I can rearrange the window order by clicking the window which causes
ulgy shadows.
Would it be the best to re-create the window cascade everytime i rip
something off?
Best,
Fabian
Fabian Schuiki
fabianschuiki at bluewin.ch
More information about the MacOSX-dev
mailing list