[Mono-list] ListView.cs bugs
Thu, 24 Feb 2005 12:14:56 -0000
I've just updated to SVN revision 41147 and now when I try to run this
example (which creates a form with a tabcontrol with 2 pages, one with a
label, the other with a listview) I get the following error:
** ERROR **: Unmanaged code called delegate of type
System.Drawing.GDIPlus/GdiPlusStreamHelper.StreamSizeImpl which was
already garbage collected.
See http://www.go-mono.com/delegate.html for an explanation and ways to
before even a window has been created
Any ideas why?
----- Original Message -----
From: "Peter Dennis Bartok" <email@example.com>
To: "Chris Bacon" <firstname.lastname@example.org>; <email@example.com>
Sent: Thursday, February 24, 2005 5:47 AM
Subject: Re: [Mono-list] ListView.cs bugs
> Thanks for the fix. I've commited it to svn. I also fixed assigning the
> owner for Insert(), which had the same issue.
> The redraw problem with tab page switches is a bug and I've logged it
> -----Original Message-----
> From: "Chris Bacon" <firstname.lastname@example.org>
> To: <email@example.com>
> Date: 23 February, 2005 18:46
> Subject: [Mono-list] ListView.cs bugs
> >I've discovered a possible bug in ListView.cs.
> >When a ColumnHeader is added to the ColumnHeaderList its 'owner' member
> >not set.
> >The attached patch fixes this, although I'm not sure if it fixes it in
> >correct way.
> >The attached TestCode.cs shows this and it also shows a bug where the
> >neither the listview control nor the label control are redrawn when
> >switching between the two tabPages.
> >I'm not sure if this is supposed to work; if not, then sorry about
> >it up!
> >There is also a curious anomaly in the MS documentation for
> >"ListView.ColumnHeaderCollection.AddRange" which states that "This method
> >removes all existing column headers from the collection before inserting
> >items". However, this does not seem to be true (in MS or Mono).