[Mono-bugs] [Bug 642469] New: Listview header not redrawn properly (regression from 2.6.7)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 29 02:57:45 EDT 2010



           Summary: Listview header not redrawn properly (regression from
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: All
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: matteo.tesser at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=392030)
 --> (http://bugzilla.novell.com/attachment.cgi?id=392030)
correct behavior in mono 2.6.7

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:
Gecko/20100914 Firefox/3.6.10 GTB7.1 ( .NET CLR 3.5.30729)

header controls not being visualized after listview items are added in the
listview.   This happen in an application I'm porting to mono: this is a
regression, because they was visible in erlier mono versions.  I attached two
screenshots of the software with   mono 2.6.7 and mono 2.8 RC1.

I think that the regression has been introducede in the following commit

In the the above commit method ListView.LayoutDetails() is modified:

inside, first method LayoutHeader is called. Then  AdjustChildrenZOrder method
is called, which removes and adds the header_control and list_control again. 

Does this calls makes the header_control loose the layout information?
Does moving  the call to LayoutHeader  down in the method after
AdjustChildrenZOrder,  should help ?

Reproducible: Always

Steps to Reproduce:
I'm sorry I tried to build a simple test case without success.
Actual Results:  
listview in details mode does not show header when a new element is added.

Expected Results:  
listview header should be visible as in earlier version

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