[Mono-bugs] [Bug 478689] New: ListView control with ListViewGroups doesn't work correctly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 23 12:08:11 EST 2009


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


           Summary: ListView control with ListViewGroups 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=274689)
 --> (https://bugzilla.novell.com/attachment.cgi?id=274689)
Testcase for ListViewBug

Description of Problem:
I have a ListView with two groups. When I add two items, one in each group,
then delete the items and add them again, the empty space between the item and
the group caption grows with each time.

Then there's also a second bug, that only occurs when FullRowSelect is enabled:
If I first add the item from the second group and then the item from the first
group, clicking on the first item selects the second item
If I add the items in the correct order, selecting them works correctly.

Steps to reproduce this problem:
Build the attached file with:  gmcs -r:System.Windows.Forms clsListViewBug.cs
The form shows a ListView with enabled FullRowSelect, and two buttons.

Click the the first Button twice: the space between the items grows, instead of
staying the same, as in .Net

Click the second Button, click on the first item in the ListView: the second
item is selected

Additional Information:
found in 2.2 and trunk

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