[Mono-bugs] [Bug 422908] New: [Patch] Don't invalidate ListViewItems during calculation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 3 22:45:36 EDT 2008


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


           Summary: [Patch] Don't invalidate ListViewItems during
                    calculation
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Dax at daxxfiles.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=237352)
 --> (https://bugzilla.novell.com/attachment.cgi?id=237352)
patch to ListView

Currently, Mono invalidates every item in a ListView during calculation of item
sizes and positions. This is, however, pretty slow, lengthening the time
between filling and displaying 1000 items to over five seconds. I went on to
remove the item-by-item invalidation from SetItemLocation and replaced those by
one complete-control invalidation per LayoutDetails() / LayoutIcons().
Rendering is much faster now (no noticeable loss in performace well into the
100.000 items), with no changes in appearance.


-- 
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