[Mono-winforms-list] Potential ButtonBase Mouse Hover bug

Jackson Harper jackson@ximian.com
Thu, 21 Oct 2004 09:52:11 -0700


On Thu, 2004-10-21 at 22:56 +1000, John BouAntoun wrote:
> Hi guys, 
> 
> I was working on the FlatyStyle corrections for radiobutton and i
> realised the following erratic behaviour:
> 
> Some times gliding over a control cause the following (contradictory
> event sequence):
> 
> 1) MouseMove
> 2) MouseEnter
> 3) MouseLeave
> 4) MouseMove

  Can you test this with current CVS? I just fixed an off by one bug in
the new event queue.

Jackson


> To discover this I did the following:
> 
> if (FlatStyle == FlatStyle.Popup) {
> 	System.Console.WriteLine("mouseenter + capture " + Capture);
> }
> 
> and repeated the same for mouseleave and mouse move.
> 
> I then glided over the popup radio button causing the popup effect to
> remain on the radiobutton when it shouldn't have. This is the output on
> the console:
> mouseenter + capture False
> mouseleave + capture False
> mousemove + capture False
> mousemove + capture False
> mousemove + capture False
> mousemove + capture False
> 
> I'm confused by this, since you shouldn't be able to cause move events
> after a leave event?
> 
> Not sure if I should log this as a bugzilla, possibly need to do more
> troubleshooting first?
> 
> JBA
> 
> 
> 
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
-- 
Jackson Harper <jackson@ximian.com>