[Mono-bugs] [Bug 506632] New: Form ControlBox Bug

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 22 17:06:35 EDT 2009


           Summary: Form ControlBox Bug
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lachlankeown at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: DeveloperNet

Created an attachment (id=294016)
 --> (http://bugzilla.novell.com/attachment.cgi?id=294016)
Patch to fix bug

Description of Problem:
If the ControlBox property of a form is set to false, the Text property
determines whether or not a window header is shown; if empty there is no
header. At present, changing the Text or ControlBox property does not update
the window size when the header should be removed/returned.

Steps to reproduce the problem:
1. Create a form in Visual Studio forms designer. 
2. Set ControlBox = false, FormBorderStyle = FixedDialog, Text = "Anything".
3. Run under Mono. 

Actual Results:
Form size is too small.

Expected Results:
Form same size as under MS runtime.

How often does this happen? 

Additional Information:
See attached patch for a fix that involves resetting the window size after the
ControlBox or Text properties are changed.

Configure bugmail: http://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.

More information about the mono-bugs mailing list