[Mono-bugs] [Bug 426166] Checked-/ListBox with Sorted=true, Add gives wrong index and ItemCheck event

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 15 15:19:48 EDT 2008


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

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=426166#c2


Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED




--- Comment #2 from Jonathan Pobst <jpobst at novell.com>  2008-09-15 13:19:48 MDT ---
Fixed in r113076.  Thanks for the report and tests!

2008-09-15  Jonathan Pobst  <monkey at jpobst.com>

        * CheckedListBox.cs: Return the real item index from Add.  It may not
be
        the last item if the list is sorted.  The user can change the NewValue
in
        the ItemCheck event, we need to use that value if so.
        * ListBox.cs: Return the real item index from a sorted Add.
        [Fixes bug #426166]

2008-09-15  Jonathan Pobst  <monkey at jpobst.com>

        * CheckedListBoxTest.cs, ListBoxTest.cs: Add some tests from Andy
        Hume for bug #426166.


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


More information about the mono-bugs mailing list