[Mono-winforms-list] Potential ButtonBase Mouse Hover bug
John BouAntoun
jba-mono@optusnet.com.au
Sat, 23 Oct 2004 19:47:06 +1000
Just checked it with updated cvs, it's fine now.
JBA
On Thu, 2004-10-21 at 09:52 -0700, Jackson Harper wrote:
> 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