https://bugzilla.novell.com/show_bug.cgi?id=394311
Summary: MDI children with tool window border cause an error
Product: Mono: Class Libraries
Version: SVN
Platform: i686
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
Created an attachment (id=217964)
--> (https://bugzilla.novell.com/attachment.cgi?id=217964)
Patch (fixes this bug but may introduce others)
Description of Problem:
MDI children with FormBorderStyle set to FixedToolWindow or SizableToolWindow
cause an error message box to be displayed.
Steps to reproduce the problem:
Compile and run the following program.
using System.Windows.Forms;
class Test
{
static void Main ()
{
Form parent = new Form ();
parent.IsMdiContainer = true;
Form child = new Form ();
child.MdiParent = parent;
child.FormBorderStyle = FormBorderStyle.FixedToolWindow; //or
SizableToolWindow
child.Show ();
Application.Run (parent);
}
}
Actual Results:
An error message box is displayed.
Expected Results:
No error message box.
How often does this happen?
Always.
Additional Information:
The message box is displayed by the call in XplatUIWin32.cs at line 1596.
The attached patch seems to fix it, but I do not know what the check that I
removed is supposed to do.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs