Skip navigation.
 
mlRe: Weird Exception While Resizing NSWindow
FROM : Jean-Olivier Lanctôt
DATE : Mon Jun 05 23:26:53 2006

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/jolivierld%
> 40gmail.com
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlWeird Exception While Resizing NSWindow Jean-Olivier Lanct… Jun 5, 23:04
mlRe: Weird Exception While Resizing NSWindow Jean-Olivier Lanct… Jun 5, 23:26
ml[SOLVED] Re: Weird Exception While Resizing NSWindow Jean-Olivier Lanct… Jun 5, 23:34