• 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: Weird Exception While Resizing NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • [SOLVED] Re: Weird Exception While Resizing NSWindow
      • From: Jean-Olivier Lanctôt <email@hidden>
References: 
 >Weird Exception While Resizing NSWindow (From: Jean-Olivier Lanctôt <email@hidden>)

  • Prev by Date: Re: Strategy for read only Templates with Core Data
  • Next by Date: [SOLVED] Re: Weird Exception While Resizing NSWindow
  • Previous by thread: Weird Exception While Resizing NSWindow
  • Next by thread: [SOLVED] Re: Weird Exception While Resizing NSWindow
  • Index(es):
    • Date
    • Thread