[Mono-dev] Patches for mono-winforms

Steven Boswell II ulatekh at yahoo.com
Sat Jun 16 02:38:02 UTC 2012


Finally, here is my old patch #2, with a unit test and a project.  You can apply the unit test, see that it fails, then apply the patch, and see that it succeeds.  You can also run the project under Linux and MS Windows to see that it behaves identically under both OSes.

BTW, after digging around my application's source code, I discovered that the most likely cause of the issue addressed by patch #10 is that a copy of one of our Forms is getting closed and replaced with another copy.  So the menu-items are presumably getting garbage-collected when the crash occurs.  I can probably write a unit test that repeatedly creates a bunch of Forms with menus and then closes them.

Steven Boswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/4e537d74/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-02-DataGridView-Leave.patch
Type: application/octet-stream
Size: 994 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/4e537d74/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwf-02-DataGridView-Leave-unittest.patch
Type: application/octet-stream
Size: 1671 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/4e537d74/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DgvTest4.zip
Type: application/zip
Size: 10035 bytes
Desc: not available
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/4e537d74/attachment.zip>


More information about the Mono-devel-list mailing list