Re: drawRect infinite loop -- argh!
Re: drawRect infinite loop -- argh!
- Subject: Re: drawRect infinite loop -- argh!
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 20 Jul 2008 16:31:10 -0700
On Jul 20, 2008, at 11:52 AM, Brian Hughes wrote:
Thread 2
-[LNTab3View drawRect:] at LNTab3View.m:52
-[NSView _drawRect:clip:]
-[NSView _lightWeightRecursiveDisplayInRect:]
_lightWeightRecursiveDisplayInRect2
CFArrayApplyFunction
-[NSView _lightWeightRecursiveDisplayInRect:]
_lightWeightRecursiveDisplayInRect2
CFArrayApplyFunction
-[NSView _lightWeightRecursiveDisplayInRect:]
_lightWeightRecursiveDisplayInRect2
CFArrayApplyFunction
-[NSView _lightWeightRecursiveDisplayInRect:]
_lightWeightRecursiveDisplayInRect2
CFArrayApplyFunction
-[NSView _lightWeightRecursiveDisplayInRect:]
-[NSButtonCell(NSDefaultButtonIndicatorPrivate) heartBeat:]
-[NSWindow(NSWindow_Theme) heartBeat:]
-[NSUIHeartBeat _heartBeatThread:]
And so it begins again.
Maybe the problem is obvious to you guys but it is not to me. Any
help would be great.
Are you doing anything during the drawing that calls -setNeedsDisplay:
or otherwise makes the view hierarchy think that regions have been
invalidated?
The actual bug may not be in LNTab3View's -drawRect:. That particular
method may just be a symptom. The actual cause might be something
somewhere that is invalidating the drawing during the view hierarchy
refresh.
Explicit calls to -display could cause this, too.
b.bum
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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