[Mono-bugs] [Bug 78151][Maj] New - Really bad ListView performance when the ListView has a huge number of items

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Apr 20 16:57:56 EDT 2006


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 xenomorph2 at onlinehome.de.

http://bugzilla.ximian.com/show_bug.cgi?id=78151

--- shadow/78151	2006-04-20 16:57:56.000000000 -0400
+++ shadow/78151.tmp.25913	2006-04-20 16:57:56.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 78151
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Windows.Forms
+AssignedTo: mkestner at ximian.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Really bad ListView performance when the ListView has a huge number of items
+
+When you add a large/huge number of items to a ListView the ListView
+performance for redrawing/updating gets really worse.
+
+Attached is a testcase that adds 3000 listview items to a ListView. Use the
+scrollbar to move through the items and you will see that it takes ages to
+redraw/update the ListView. This is even without any images attached to the
+items.
+
+I even got a X error during updating:
+
+X11 Error encountered:
+  Error: BadWindow (invalid Window parameter)
+  Request:     12 (X_ConfigureWindow)
+  Resource ID: 0x3800019
+  Serial:      19360
+  Hwnd:        Hwnd, Mapped:True ClientWindow:0x3800019,
+WholeWindow:0x3800018, Parent:[Hwnd, Mapped:True ClientWindow:0x3800017,
+WholeWindow:0x3800016, Parent:[Hwnd, Mapped:True ClientWindow:0x3800007,
+WholeWindow:0x3800006, Parent:[<null>]]]
+  Control:     <handle 58720281 non-existant>
+         at System.Windows.Forms.XplatUIX11.WhereString ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.UpdateMessageQueue ()
+         at System.Windows.Forms.XplatUIX11.GetMessage ()
+         at System.Windows.Forms.XplatUI.GetMessage ()
+         at System.Windows.Forms.Application.RunLoop ()
+         at System.Windows.Forms.Application.Run ()
+         at ListViewCase.MainForm.Main ()
+
+
+I know that the ListView performance for a larger number of items was good
+some time ago.


More information about the mono-bugs mailing list