|Re: Tracker won't release on Mouse-up [message #520518 is a reply to message #520449]
||Fri, 12 March 2010 12:36
| Grant Gayed
Registered: July 2009
Tracker should be reasonably straight-forward, so as you say, you're
probably seeing a bug. Which platform and SWT version are you using? Do
you see the problem with
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet23. java ?
"Mark" <Mark.Fenbers@noaa.gov> wrote in message
> I'm having an intermittent problem with Tracker in that 25% of the time it
does not release the rubber-band box when I let go of the mouse button.
Most of the time this works as it should, but I have not found a pattern or
correlation of when it works versus when it doesn't. It appears to be a
> The usual and expected behavior is: when I press and hold down Button 1,
and move the mouse, the Tracker box follows the mouse. When I release
Button 1, the box stops following the mouse movements.
> But when this fails, what happens is the Tracker box continues to follow
the mouse movements even after I release Button 1 (as if Tracker was unaware
that Button 1 has been released). Sometimes, it takes several clicks of
Button 1 to cause the Tracker box to let go.
> Has anyone else had this problem? Any ideas of what I could do to work
around the problem? My code pretty much just mimics the Tracker sample code
provided by Eclipse...
> thanks for the help!
Powered by FUDForum
. Page generated in 0.01566 seconds