Re: Cocoa-dev Digest, Vol 3, Issue 720
Re: Cocoa-dev Digest, Vol 3, Issue 720
- Subject: Re: Cocoa-dev Digest, Vol 3, Issue 720
- From: Hugues Pichereau <email@hidden>
- Date: Wed, 31 May 2006 18:53:52 +0200
On Tue, 30 May 2006 06:49:12 -0500, Ricky Sharp <email@hidden> said:
On Tuesday, May 30, 2006, at 05:13AM, Hugues Pichereau
<email@hidden> wrote:
I'm having trouble with the addTrackingRect: method of NSView.
With a single tracking rect, it works fine. But with two rects with
close borders, nested or not, but not overlapping, when the mouse
moves fast, only one event is received (in mouseEntered: or
mouseExited:), instead of two (one for each tracking rect).
I've never had this issue at all. I think someone else saw this a
while back,
so at least search the archives for what the solution was.
I've always had this problem, and I've never found a solution.
Basically
this put paid to my attempts to write my own substitute for help tags.
What kind of substitute did you find ?
I tried the mouseMoved: / hitTest: way, but in addition to the
encapsulation break and probably a performance cost, that requires
the view to be firstResponder, so no way for me...
Indeed, it seems to me that problems of this sort riddle the whole
Cocoa
system; for example, I often see Apple's own Cocoa apps display the
wrong
cursor, apparently because the mouse has moved out of one cursor
area and
into another, but without proper detection that this has happened.
Mouse
tracking seems to me to be broken at a very deep level. m.
Well, thanks for your input, at least I know it doesn't comes from me!
I'm going to file a bug. The more, the merrier...
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden