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: Fri, 25 Mar 2011 20:38:55 -0700
On Thu, Mar 24, 2011 at 9:06 PM, Hui Shen <email@hidden> wrote:
> Hi
>
> My Cocoa application meet a problem, a NSWindow display is messed, it seems the older garbage history display buffer is shown, when I open another NSWindow(make key and order out).
> >From console log I found this message,
>
> Fri Mar 25 11:35:04 MY_HOST_NAME MY_APP_NAME[36638] <Error>: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid b7a, otherwid b58
Sounds like you might have messed up the graphics context. Did you
properly balance all your calls to -[NSGraphicsContext
saveGraphicsState] and CGContextSaveGState with calls to
-[NSGraphicsContext restoreGraphicsState] and CGContextRestoreGState,
respectively?
Does the console log contain anything about CGErrorBreakpoint or
"break on this function to debug?"
--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