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=78737 --- shadow/78737 2006-06-30 07:43:30.000000000 -0400 +++ shadow/78737.tmp.32534 2006-07-20 15:26:53.000000000 -0400 @@ -2,13 +2,13 @@ Product: Mono: Class Libraries Version: 1.1 OS: All OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Major Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -77,6 +77,21 @@ Global.F1.BringToFront(); } } When I run this code on MS.NET Framework, clicking the buttons correctly switches the forms. If I run it on Mono BringToFront has no effect. + +------- Additional Comments From [EMAIL PROTECTED] 2006-07-20 15:26 ------- +Some comments: + +The first problem is that Control.BringToFront only updates the zorder +if parent != null. In the example above none of the forms have a +parent "control". + +So if parent == null it should call the driver with: +XplatUI.SetZOrder(Handle, IntPtr.Zero, true, false); + +The second problem (X only) seems to be that XRaiseWindow only works +when the WM_CLIENT_LEADER property is set correctly. +See http://tronche.com/gui/x/icccm/sec-5.html#s-5.1 +(Correct me if I'm wrong here) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
