FROM : Jean-Olivier Lanctôt
DATE : Mon Jun 05 23:34:22 2006
Oh well, I solved it myself.
This was caused by the window instance in the nib having a very small
minimum h/w (way smaller than the current).
Don't know why IB set it to those values... must have been a bug.
On 5 juin 06, at 17:26, Jean-Olivier Lanctôt wrote:
> 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>
>>
> _______________________________________________
> 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>
DATE : Mon Jun 05 23:34:22 2006
Oh well, I solved it myself.
This was caused by the window instance in the nib having a very small
minimum h/w (way smaller than the current).
Don't know why IB set it to those values... must have been a bug.
On 5 juin 06, at 17:26, Jean-Olivier Lanctôt wrote:
> 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>
>>
> _______________________________________________
> 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 mails | Author | Date |
|---|---|---|
| Jean-Olivier Lanct… | Jun 5, 23:04 | |
| Jean-Olivier Lanct… | Jun 5, 23:26 | |
| Jean-Olivier Lanct… | Jun 5, 23:34 |






Cocoa mail archive

