[Mono-dev] Patches for mono-winforms
Steven Boswell II
ulatekh at yahoo.com
Sat Jun 16 00:45:53 UTC 2012
I agree, but we both know how much toil it takes to get our bug fixes accepted and applied to the git repository on this mailing list... ;-)
________________________________
From: Rob Wilkens <robwilkens at gmail.com>
To: mono-devel-list at lists.ximian.com
Sent: Friday, June 15, 2012 5:42 PM
Subject: Re: [Mono-dev] Patches for mono-winforms
I know my opinion is of mixed value, but it looks to make sense to me.. If the toolstripitem is being changed so it no longer has an owner, calculating a size might not make sense....
-Rob
On 06/15/2012 08:34 PM, Steven Boswell II wrote:
[... Digging through the stack trace, I arrived at System.Windows.Forms.ToolStripItem.set_InternalOwner, where the owner was being set to null, and right afterwards, CalculateAutoSize() was being called. Why would anyone need to calculate the size of a menu-item that isn't even connected to a menu any more? So, for me, the bug fix was obvious: check if the owner isn't null before calling CalculateAutoSize(). That's what the enclosed patch does. ...]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120615/acaefd84/attachment.html>
More information about the Mono-devel-list
mailing list