[Mono-bugs] [Bug 397272] New: ListView.EnsureVisible is inaccurate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 4 17:32:26 EDT 2008


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


           Summary: ListView.EnsureVisible is inaccurate
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: derekd at omni-ts.com
         QAContact: mono-bugs at lists.ximian.com
                CC: stephane at omni-ts.com
          Found By: ---


Created an attachment (id=220223)
 --> (https://bugzilla.novell.com/attachment.cgi?id=220223)
listview.ensurevisible inaccuracy source code

ListView.EnsureVisible doesn't correctly bring the requested index into view.

To reproduce:
1. Create a form and put in a ListView
2. Add enough items to the ListView to require significant scrolling
3. Call ListView.EnsureVisible() such that scroll would be required

Actual Result:
Where the ListView actually scrolls is somewhat unpredictable.

Test case is attached.


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