Re: CGXRemoveTrackingArea problem
Re: CGXRemoveTrackingArea problem
- Subject: Re: CGXRemoveTrackingArea problem
- From: matt neuburg <email@hidden>
- Date: Thu, 18 Dec 2003 07:18:56 -0800
On Thu, 4 Dec 2003 08:35:40 -0800, matt neuburg <email@hidden> said:
>
My app continuously writes this line to windowserver.log:
>
>
Dec 03 11:16:29 [190] kCGErrorIllegalArgument:
>
CGXRemoveTrackingArea : Invalid tracking area
>
>
Anyone know what I might be doing wrong? I don't even know where
>
to look.
Just to follow up on this: It turns out that this error line is written to
windowserver.log whenever I call removeAllToolTips or removeToolTip:. I think
this must be a bug in Cocoa.
I was making this call every couple of seconds. This was causing the error
line to be written to windowserver.log every couple of seconds. And this was
causing (1) windowserver.log to become huge, and (2) the computer wouldn't
sleep.
So in the end I just had to give up a significant piece of functionality in my
app (MemoryStick). I no longer have a separate tooltip for each of the four
rectangles in my bar graph.
Probably the reason this bug has never been noticed before is that no one has
ever called removeAllToolTips so often before. m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.