• 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
Error when closing window with IKImageBrowserView in it
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error when closing window with IKImageBrowserView in it


  • Subject: Error when closing window with IKImageBrowserView in it
  • From: Gideon King <email@hidden>
  • Date: Thu, 1 Jul 2010 23:00:15 +1000

Hi, I have a panel which has an IKImageKitBrowser in it, and when I close the window, if I have any images selected, I get this message:

 <Error>: kCGErrorInvalidConnection: CGSGetSurfaceBounds: Invalid connection
 <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
 <Error>: kCGErrorInvalidConnection: CGSGetSurfaceBounds: Invalid connection

I tried to set a breakpoint on CGErrorBreakpoint(), but it didn't stop on it (my breakpoints seem to be ignored sometimes in the current XCode).

It definitively only happens when something is selected in the view. Apart from the warning, the program appears to work just fine, but I don't like just leaving it there spewing messages to the console.

I tried picking up the NSWindowWillCloseNotification and calling setSelectionIndexes:[NSIndexSet indexSet] on my array controller for the view to clear the selection, and although that clears the selection, I still get the error message.

Has anyone else seen this issue? Is there a known workaround?

Thanks.

Gideon







_______________________________________________

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

  • Follow-Ups:
    • Re: Error when closing window with IKImageBrowserView in it
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: NSString ambiguities
  • Next by Date: Capturing output from another task with elevated privilages
  • Previous by thread: Re: NSString ambiguities
  • Next by thread: Re: Error when closing window with IKImageBrowserView in it
  • Index(es):
    • Date
    • Thread