Error when closing window with IKImageBrowserView in it
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