[Mono-bugs] [Bug 704786] New: Form.StartPosition shouldn't override manual values in Form.Load

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 9 05:23:27 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=704786

https://bugzilla.novell.com/show_bug.cgi?id=704786#c0


           Summary: Form.StartPosition shouldn't override manual values in
                    Form.Load
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dominik.reichl at gmx.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=439090)
 --> (http://bugzilla.novell.com/attachment.cgi?id=439090)
Minimal sample application

Description of Problem:
When Form.StartPosition is e.g. set to FormStartPosition.CenterScreen, this
currently overrides a position specified manually in Form.Load. It however is
only expected to work *before* Form.Load (such that specifying a position
manually in Form.Load has an effect).

Steps to reproduce the problem:
Run the minimal sample application in the attachment (mono
bin/Release/FormPositionBug.exe).

Actual Results:
When running using .NET, the form is positioned at the top left. When running
under Mono, the window is centered (i.e. the values specified manually in
Form.Load are ignored).

Expected Results:
Mono shouldn't ignore values specified manually (i.e. reposition the window
like .NET).

How often does this happen? 
Always.

Additional Information:
-

-- 
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.


More information about the mono-bugs mailing list