Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removed view still getting events



On Sep 29, 2006, at 12:00 PM, j o a r wrote:


On 29 sep 2006, at 20.44, John Nairn wrote:

It's not obvious what objects are logging what messages above. The "-drawRect:", is that from the TrackingGraphView? It would also have been interesting to see the millisecond timestamps.

How are you setting up your mouse tracking? Could it be that you're re-setting tracking rectangles after removing the view from it's superview? Or something like that... Can you NSLog the calls to "- resetCursorRects"?

Below is NSLog()'s with time stamps. The drawRect is the the new view and not the TrackingGraphView. Also, the view does have tracking rectangle and maybe that is the key. I logged resetCursorRects in the view but got nothing before the crash.


2006-09-29 12:24:28.844 NairnFEAMPM[15820] 3D windowDidLoad
2006-09-29 12:24:28.845 NairnFEAMPM[15820] view: <TrackingGraphView: 0x6dc440>, superview: <NSClipView: 0x6da490>
2006-09-29 12:24:28.846 NairnFEAMPM[15820] view: <TrackingGraphView: 0x6dc440>, superview: (null)
2006-09-29 12:24:28.868 NairnFEAMPM[15820] 3D windowDidLoad ended
2006-09-29 12:24:28.936 NairnFEAMPM[15820] openGL reshape
2006-09-29 12:24:28.941 NairnFEAMPM[15820] openGL drawRect
2006-09-29 12:24:28.954 NairnFEAMPM[15820] TrackingGraphView dealloc


---------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://woodscience.oregonstate.edu/faculty/Nairn
FEA/MPM Web Page: http://oregonstate.edu/~nairnj



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Removed view still getting events (From: John Nairn <email@hidden>)
 >Re: Removed view still getting events (From: j o a r <email@hidden>)
 >Re: Removed view still getting events (From: John Nairn <email@hidden>)
 >Re: Removed view still getting events (From: John Nairn <email@hidden>)
 >Re: Removed view still getting events (From: j o a r <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.