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

John BouAntoun jba-mono@optusnet.com.au
Thu, 21 Oct 2004 22:56:11 +1000


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

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