[Mono-bugs] [Bug 80943][Nor] New - ListView: SelectedIndexChanged event fires too much

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 23 04:43:55 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.


--- shadow/80943	2007-02-23 04:43:55.000000000 -0500
+++ shadow/80943.tmp.30492	2007-02-23 04:43:55.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 80943
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: ListView: SelectedIndexChanged event fires too much
+When selecting items in a ListView, the SelectedIndexChanged event current 
+fires multiple times for each item.
+The reason for this is that OnSelectedIndexChanged is invoked from both 
+Listview itself, and from ListViewItem.Selected.
+I'll prepare a patch that removes the calls to OnSelectedIndexChanged from 
+ListView when appropriate.
+I'll also attached a (visual) repro later.

More information about the mono-bugs mailing list