Re: Weird Exception While Resizing NSWindow
Re: Weird Exception While Resizing NSWindow
- Subject: Re: Weird Exception While Resizing NSWindow
- From: Jean-Olivier Lanctôt <email@hidden>
- Date: Mon, 05 Jun 2006 17:26:53 -0400
OK, I have deleted EVERYTHING in MainMenu.nib except the window (a
subclass of NSWindow) and STILL get the same error.
Also, I have tried setting the custom class of the window to
NSWindow, this didn't solve anything (weird, because I use lockFocus
in this custom NSWindow subclass)
I'm speechless, I don't know what's going on!
On 5 juin 06, at 17:04, Jean-Olivier Lanctôt wrote:
Hi list,
I'm stuck with one of these weird bugs that seem to appear randomly
in the coding process
It's simple: When I hold the resize know of my app's main window
and try to drag it (resize the NSWindow), I get this in my console:
2006-06-05 16:59:39.505 Coverer[25979] Exception raised during
posting of notification. Ignored. exception: Can't cache image
I can't find the culprit. I've deleted whole views in the nib,
commented huge parts of my code out, etc.
I know this exception is called when lockFocus fails....
I've set gdb to break on - [NSException raise], but it never breaks
for some reason (???)
Can someone help me?
Thanks
--Olivier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden