Re: Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid
Re: Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid
- Subject: Re: Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid
- From: Kyle Sluder <email@hidden>
- Date: Sun, 27 Mar 2011 19:36:46 -0700
On Sun, Mar 27, 2011 at 6:49 PM, Hui Shen <email@hidden> wrote:
> // (1)
> // / \
> // (2) (3)
> // |
> // (4)
> [mainWindow1 addChildWindow:mainWindow2 ordered:NSWindowAbove];
>
> [mainWindow3 addChildWindow:mainWindow4 ordered:NSWindowAbove];
> [mainWindow1 addChildWindow:mainWindow3 ordered:NSWindowAbove]; // The
> failure console information reported at here
Well, it looks like this just isn't supported. Strange that if you
remove mainWindow2 from the equation that it works, but really there's
no reason to have more than one level of child windows. They're all
going to move together with the main window anyway.
I'd suggest filling a bug about this at http://bugreport.apple.com and
changing your code to make all of your child windows direct children
of the main window.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden