[Mono-bugs] [Bug 426167] New: CheckedListBox: change of NewValue property in ItemCheck event is ignored
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Sep 14 14:14:53 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=426167
Summary: CheckedListBox: change of NewValue property in ItemCheck
event is ignored
Product: Mono: Class Libraries
Version: 2.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The NewValue property of the ItemChangeEventArgs type is mutable. If the event
handler method changes the value then that value should be used as the
resultant item state. Mono ignores any change.
Repro app attached. Unit-test cases in the patch in bug 426166.
Repro app can test both the Add action and setting state on an existing item.
• 'Add' cases
Initial value=Checked, event action: Leave/Checked/Unset.
Expect: Checked/Checked/Unchecked
Mono produces: Checked/Checked/Checked
Note when Add state is 'unchecked' then there's no ItemCheck event.
• Click/set-state cases
Click on item to toggles, event action: Leave/Check/Uncheck.
Expect, respectively: Item toggles on clicking; Item never becomes unchecked on
clicking; Item never becomes checked on clicking.
--
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