• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid (From: Hui Shen <email@hidden>)

  • Prev by Date: How can I make a palette input method with cocoa?
  • Next by Date: Re: Help with Custom Control
  • Previous by thread: Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid
  • Next by thread: Re: Console error message: kCGErrorInvalidOperation: Cannot merge groups (yet) for wid
  • Index(es):
    • Date
    • Thread