[Mono-bugs] [Bug 620324] New: ComboBox Format event not fired at the right time

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 7 02:11:43 EDT 2010


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

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


           Summary: ComboBox Format event not fired at the right time
    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=374162)
 --> (http://bugzilla.novell.com/attachment.cgi?id=374162)
Test case

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6

See test case.

It has 2 ComboBoxes, one has 3 items directly added to it, the other has its
DataSource set to an array of 3 objects. Both have an event handler for their
Format event.

When you run the app:

With .NET: the Format event of the first ComboBox has been fired 3 times, and
the one of the second ComboBox 9 times.

With Mono: the Format event of the first ComboBox has not been fired, and the
one of the second ComboBox has been fired 2 times.
Clicking on the first ComboBox to make the dropdown appear calls the Format
event 3 times each time, which does not happen with .NET.

Clicking on the second ComboBox does fire the Format event on both Mono and
NET, but not the same way.

PS: I don't know if other controls suffer from the same issue.

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