[Mono-dev] Fwd: Patch for DataGridView crash after Columsn.Clear
Jonathan Pobst
monkey at jpobst.com
Mon Nov 17 12:10:56 EST 2008
Hi!
When I started writing some tests to verify your changes, I realized
that RowTemplate should never contain any Cells. I made changes to make
us behave more like .Net.
I don't know what your original issue is, so I do not know if this fixes
it, but the changes I made are in r119060. If you can still reproduce a
crash, please let us know.
Thanks!
Jonathan
jingnan si wrote:
>
>
> ---------- Forwarded message ----------
> From: *jingnan si* <jingnan.si <http://jingnan.si>@gmail.com
> <http://gmail.com>>
> Date: 2008/11/17
> Subject: Re: [Mono-dev] Patch for DataGridView crash after Columsn.Clear
> To: Andreas Färber <andreas.faerber at web.de <mailto:andreas.faerber at web.de>>
>
>
> Hi,
> I checked with latest version from svn, the bug is partially fixed,
> but still crash the application, I re-make the diff file and attached
> based on the svn latest code (At revision 118988), please check.
>
> Regards,
> Jingnan
>
> 2008/11/16 Andreas Färber <andreas.faerber at web.de
> <mailto:andreas.faerber at web.de>>
>
> Hi,
>
> Am 13.11.2008 um 02:35 schrieb jingnan si:
>
>
> diff -r
> mono-2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewColumnCollection.cs
> original/mono-2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewColumnCollection.cs
> 105,108c105
> < //list.Clear();
> < while(Count > 0)
> < RemoveAt(0);
> <
> ---
> > base.List.Clear ();
>
> [...]
>
> Please use unified diffs (`diff -u` or `svn diff`) for readability.
> Did you check it's not already fixed in SVN trunk?
>
> Regards,
>
> Andreas
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list