[Mono-bugs] [Bug 82767][Min] New - MDI Form: Win32 when maximized adding new child causes unmaximize inconsistency

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Sep 9 11:24:20 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 andyhume32 at yahoo.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=82767

--- shadow/82767	2007-09-09 11:24:20.000000000 -0400
+++ shadow/82767.tmp.9739	2007-09-09 11:24:20.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 82767
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andyhume32 at yahoo.co.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MDI Form: Win32 when maximized adding new child causes unmaximize inconsistency
+
+Repro is ./ch02_Forms/MDIApplicationSample from the sample code for the 
+book "Windows Forms 2.0 Programming," by Chris Sells and Michael 
+Weinhardt, sources available from 
+http://www.sellsbrothers.com/writing/wfbook/
+
+Tested on SVN head on Win32, 1.2.5_5 Win32, and 1.2.5_5 Suse VM.
+
+
+On both MSFT .NET Win32 and native Win32, when the current MDI child 
+state is maximized, adding a new child just adds it as the focused 
+maximized window.  On Mono that does not occur.
+
+Repro steps:
+1. Run sample, and resize to decent size (say 10cm each way).
+2. Ctrl+N twice, to see two child windows (though not too fast or the 
+second keystroke will be lost :-( ).
+3. Hit the maximize control icon on "MDI Child Form2"
+4. Hit Ctrl+N.
+Expect: Still in maximized state, new child foremost.
+On Mono Win32: Children appear in cascade form!  But note the child-
+window control icons still in the menu bar (so maximized)!  But cause 
+repaint of the window, and see the maximize control also set in the child 
+window.
+On Mono Suse VM: See apparent correct maximized state.
+5. Hit Windows->Cascade.
+(Expect: no change from previous good maximized state)
+Mono Win32: See cascade patten, but the maximized control icon still set 
+in child and in MDI menu!
+Mono Suse VM: See top-most child full size, and with its maximize control 
+icon set!
+6. Hit Maximize control icon.
+Both: arranges in a new cascade (bad--two windows at top left), and 
+control icons now as expected.


More information about the mono-bugs mailing list