[Mono-bugs] [Bug 478498] New: ListView: EnsureVisible() doesn't work correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 22 06:07:22 EST 2009


           Summary: ListView: EnsureVisible() doesn't work correctly
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: PC
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: floseflose at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=274503)
 --> (https://bugzilla.novell.com/attachment.cgi?id=274503)
Testcase with Winform, ListView with Detail view

Description of Problem:

Item.EnsureVisible() doesn't work correctly when I scroll to the bottom of the
ListView (with Details view) and then try to make an item from the top visible
by clicking a button. The ListView doesn't scroll up far enough. That means
that the item is not visible but hidden behind the ColumnHeaders.

Steps to reproduce the problem:
Build the attachement:
1. a WinForm with a ListView and two button is shown
2. Press first button: item 90 is shown
3. Press second button: item 4 should be shown

Actual Results:
The item is not visible, but is exactly behind the ColumnHeaders

Expected Results:
The item should be directly visible under the ColumnHeaders

How often does this happen? 

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