[Mono-bugs] [Bug 80604][Nor] Changed - Form.Visible should return true during OnLoad

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 12 17:52:27 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by toshok at ximian.com.


--- shadow/80604	2007-02-10 11:53:34.000000000 -0500
+++ shadow/80604.tmp.11668	2007-03-12 16:52:27.000000000 -0500
@@ -88,6 +88,15 @@
 ------- Additional Comments From gert.driesen at pandora.be  2007-02-10 11:53 -------
 I've attached another repro. I'm not sure if this issue is caused by 
 the fixes that went in, but it shows that forms are being displayed 
 too soon now.
+------- Additional Comments From toshok at ximian.com  2007-03-12 16:52 -------
+Control.Show (well, Control.SetVisibleCore) does call CreateControl
+before calling XplatUI.SetVisible.  I just committed a test -
+ControlTest.CreateControlVisibleTest - which confirms this.  Actually,
+by the time CreateControl is called, the control should already be
+visible (i.e. is_visible will be true.)
+I'll dig deeper.

More information about the mono-bugs mailing list