зеркало из https://github.com/mono/mail-archives.git
129 строки
4.6 KiB
HTML
129 строки
4.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-list] ListView.cs bugs
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:chris.bacon%40docobo.co.uk">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="025981.html">
|
|
<LINK REL="Next" HREF="026013.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-list] ListView.cs bugs
|
|
</H1>
|
|
<B>Chris Bacon
|
|
</B>
|
|
<A HREF="mailto:chris.bacon%40docobo.co.uk"
|
|
TITLE="[Mono-list] ListView.cs bugs">chris.bacon@docobo.co.uk
|
|
</A><BR>
|
|
<I>Thu, 24 Feb 2005 12:14:56 -0000</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="025981.html">[Mono-list] ListView.cs bugs
|
|
</A></li>
|
|
<LI> Next message: <A HREF="026013.html">[Mono-list] ListView.cs bugs
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25998">[ date ]</a>
|
|
<a href="thread.html#25998">[ thread ]</a>
|
|
<a href="subject.html#25998">[ subject ]</a>
|
|
<a href="author.html#25998">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Hi,
|
|
|
|
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 <A HREF="http://www.go-mono.com/delegate.html">http://www.go-mono.com/delegate.html</A> for an explanation and ways to
|
|
fix this.
|
|
|
|
before even a window has been created
|
|
|
|
Any ideas why?
|
|
|
|
Thanks
|
|
Chris
|
|
|
|
----- Original Message -----
|
|
From: "Peter Dennis Bartok" <<A HREF="mailto:peter@novonyx.com">peter@novonyx.com</A>>
|
|
To: "Chris Bacon" <<A HREF="mailto:chris.bacon@docobo.co.uk">chris.bacon@docobo.co.uk</A>>; <<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>>
|
|
Sent: Thursday, February 24, 2005 5:47 AM
|
|
Subject: Re: [Mono-list] ListView.cs bugs
|
|
|
|
|
|
><i> Chris,
|
|
</I>><i>
|
|
</I>><i> Thanks for the fix. I've commited it to svn. I also fixed assigning the
|
|
</I>><i> owner for Insert(), which had the same issue.
|
|
</I>><i>
|
|
</I>><i> The redraw problem with tab page switches is a bug and I've logged it
|
|
</I>here:
|
|
><i> <A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=72950">http://bugzilla.ximian.com/show_bug.cgi?id=72950</A>
|
|
</I>><i>
|
|
</I>><i> Cheers,
|
|
</I>><i> Peter
|
|
</I>><i>
|
|
</I>><i> -----Original Message-----
|
|
</I>><i> From: "Chris Bacon" <<A HREF="mailto:chris.bacon@docobo.co.uk">chris.bacon@docobo.co.uk</A>>
|
|
</I>><i> To: <<A HREF="mailto:mono-list@lists.ximian.com">mono-list@lists.ximian.com</A>>
|
|
</I>><i> Date: 23 February, 2005 18:46
|
|
</I>><i> Subject: [Mono-list] ListView.cs bugs
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> >Hi,
|
|
</I>><i> >
|
|
</I>><i> >I've discovered a possible bug in ListView.cs.
|
|
</I>><i> >
|
|
</I>><i> >When a ColumnHeader is added to the ColumnHeaderList its 'owner' member
|
|
</I>is
|
|
><i> >not set.
|
|
</I>><i> >The attached patch fixes this, although I'm not sure if it fixes it in
|
|
</I>the
|
|
><i> >correct way.
|
|
</I>><i> >
|
|
</I>><i> >The attached TestCode.cs shows this and it also shows a bug where the
|
|
</I>><i> >neither the listview control nor the label control are redrawn when
|
|
</I>><i> >switching between the two tabPages.
|
|
</I>><i> >I'm not sure if this is supposed to work; if not, then sorry about
|
|
</I>bringing
|
|
><i> >it up!
|
|
</I>><i> >
|
|
</I>><i> >There is also a curious anomaly in the MS documentation for
|
|
</I>><i> >"ListView.ColumnHeaderCollection.AddRange" which states that "This method
|
|
</I>><i> >removes all existing column headers from the collection before inserting
|
|
</I>><i> >new
|
|
</I>><i> >items". However, this does not seem to be true (in MS or Mono).
|
|
</I>><i> >
|
|
</I>><i> >Chris
|
|
</I>><i> >
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>
|
|
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="025981.html">[Mono-list] ListView.cs bugs
|
|
</A></li>
|
|
<LI> Next message: <A HREF="026013.html">[Mono-list] ListView.cs bugs
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#25998">[ date ]</a>
|
|
<a href="thread.html#25998">[ thread ]</a>
|
|
<a href="subject.html#25998">[ subject ]</a>
|
|
<a href="author.html#25998">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|