[Mono-bugs] [Bug 432447] New: Extra MouseMove events fired during a mouse click

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 6 00:10:21 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=432447


           Summary: Extra MouseMove events fired during a mouse click
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jonathan.l.anderson at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=243541)
 --> (https://bugzilla.novell.com/attachment.cgi?id=243541)
example program to illustrate bug

Description of Problem:
Using Windows Forms under linux, when you click the mouse you get the following
sequence of events:

MouseMove
MouseDown
MouseMove
MouseMove
MouseUp
MouseMove

Doing the same thing in Windows under Microsoft .net gives you:

MouseMove
MouseDown
MouseUp

The MouseMove events in between MouseDown and MouseUp when the mouse has not
actually moved may cause unintended consequences for an application developer,
although this is easily worked around by checking the MouseEventArgs.Location
to see if the mouse has actually moved (although this property requires the
net 2.0 libraries).  I'm attaching an example program to illustrate the
problem.  I have not tested this in Windows with Mono.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list