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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79913 --- shadow/79913 2006-11-12 11:38:50.000000000 -0500 +++ shadow/79913.tmp.19319 2006-11-12 11:38:50.000000000 -0500 @@ -0,0 +1,37 @@ +Bug#: 79913 +Product: Mono: Class Libraries +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Control: Refresh doesn't invalidate non visible controls + +On windows, if a control is not visible and you call control.Refresh () the +control gets invalidated. + +MWF does nothing, because of the following code in +Invalidate(System.Drawing.Rectangle rc, bool invalidateChildren): + +if (!IsHandleCreated || !Visible || rc.Width == 0 || rc.Height == 0) { + return; +} + +Attached is a simple test case. Run the test case on win and with mwf. + +Hide the panel with the "Hide/Show Panel" button then press the "Refresh +Panel!" button. + +On windows, the console output is "Panel got invalidated..." if the panel +is not visible. No output for mwf. + +If the panel is visible, the behaviour is the same as on windows. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
