[Mono-bugs] [Bug 427561] New: ListViewSubItemCollection different behaviour in . net & mono enviroment

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 18 18:10:49 EDT 2008


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


           Summary: ListViewSubItemCollection different behaviour in .net &
                    mono enviroment
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: marcosb at internet.com.uy
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:


Steps to reproduce the problem:

System.Windows.Forms.ListViewItem.ListViewSubItemCollection subItems; 
            subItems = new
System.Windows.Forms.ListViewItem.ListViewSubItemCollection(new
ListViewItem("")); 
            subItems.Add("bla bla"); 
             Assert.AreEqual(subItems.Count,2);

Actual Results:
1

Expected Results:
2

How often does this happen? 
Always

Additional Information:

If i run the following test using .net environment subItems.Count returns 2, if
I do it using mono environment subItems.Count returns 1. 

I'm having other problems also with the list view so my question is if there
are many bugs reported about this control and related classes.


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