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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 27 13:05:31 EST 2008


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


           Summary: ListViewSubItemCollection different behaviour in .net &
                    mono enviroment
           Product: Mono: Class Libraries
           Version: 2.0.x
          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:

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. 

  [Test] 
        public void ListViewSubItemCollectionTest() 
        { 
            System.Windows.Forms.ListViewItem.ListViewSubItemCollection
subItems; 
            subItems = new
System.Windows.Forms.ListViewItem.ListViewSubItemCollection(new
ListViewItem("")); 
            subItems.Add("bla bla"); 

            Console.WriteLine(subItems.Count); 
        } 

Steps to reproduce the problem:
1. 
2. 


Actual Results:
1

Expected Results:
2

How often does this happen? 
Always

Additional Information:


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