[Mono-bugs] [Bug 568026] New: TrackBar: Scroll event should occur BEFORE ValueChanged

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 4 11:14:53 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=568026

http://bugzilla.novell.com/show_bug.cgi?id=568026#c0


           Summary: TrackBar: Scroll event should occur BEFORE
                    ValueChanged
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: stifu at free.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=334808)
 --> (http://bugzilla.novell.com/attachment.cgi?id=334808)
Test case

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6)
Gecko/20091201 Firefox/3.5.6

The test case is composed of a simple TrackBar, and a label at the bottom.
2 events are attached to the TrackBar: Scroll and ValueChanged. In the Scroll
event, the label text is changed to "Scroll", and in the ValueChanged event,
it's changed to "ValueChanged".

When moving the cursor of the TrackBar, both events are triggered. In .NET, the
Scroll event is fired first, then the ValueChanged one is raised. In Mono, it's
the other way around. Therefore, after moving the TrackBar cursor,
"ValueChanged" is written at the bottom of the form with .NET, but "Scroll"
with Mono.
To match the behavior of .NET, Mono should fire Scroll before ValueChanged.

Reproducible: Always

-- 
Configure bugmail: http://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