Re: drawRect method not called after several hours...
Re: drawRect method not called after several hours...
- Subject: Re: drawRect method not called after several hours...
- From: Boris Prohaska <email@hidden>
- Date: Mon, 23 Nov 2009 14:31:43 +0100
Hi Mike, no there is no exception raised. The interesting thing is that when i touch the frozen window in the lower right hand corner and resize the view... the drawing works; but only for the time i resize it. The application works perfectly in the backend. It seems that some system is not called or prevents a call to drawRect. Maybe i should call "display" or "displayIfNeeded"?
Boris
Am 23.11.2009 um 13:55 schrieb Mike Abdullah:
> Sounds to me like an exception occurred at some point and upset the drawing mechanism (think I've seen something similar before, but not over a long time period). Getting in the logs to suggest an exception?
>
> Mike.
>
> On 23 Nov 2009, at 12:30, Boris Prohaska wrote:
>
>> Hi guys... this is a tricky one.
>>
>> My application is intended to run for serveal hours/days/weeks. It does GUI updates multiple times a second. But after several hours/days the drawRect: method is stopped beeing called on _all_ views. The application still does what it is supposed to do, but the GUI simply does not draw, but it's functioning well. When i resize the window then, then all the drawing wakes up, but only for the time, when i drag the window. Then it stopps drawing again. All "setNeedsDisplay:" methods are being called, but no drawRect method. This happens on both 10.5.X and 10.6.2
>>
>> All screen savers are disabled, all energy saving mechanisms off.
>>
>> Does anyone know what's the problem here?
>>
>> Thanks
>> Boris _______________________________________________
>>
>> 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
_______________________________________________
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