[Mono-bugs] [Bug 368882] New: ToolBar doesn't dock to top after Anchor is set

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 10 21:40:10 EDT 2008


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


           Summary: ToolBar doesn't dock to top after Anchor is set
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: i686
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: alex.conway at linea-research.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Created an attachment (id=200060)
 --> (https://bugzilla.novell.com/attachment.cgi?id=200060)
Test case

Description of Problem:
A Form designed using the Visual Studio 2003 Forms designer containing a Docked
to top ToolBar (the default) and setting Localizeable=true causes the ToolBar
to NOT Dock when compiled/run using Mono.

Using the Visual Studio 2003 Forms designer to design a Form with
Localizeable=true causes causes the code generator to emit code setting
properties  even if they haven't changed from their default values.

I have narrowed it down to setting Anchor to it's default value before setting
Dock to it's default value


Steps to reproduce the problem:
1. compile attatched file thus
mcs -r:System.Windows.Forms,System.Drawing ToolBarDockBug.cs
2. run the resulting executable

Actual Results:
The ToolBar is NOT docked to the top of the form

Expected Results:
the ToolBar is docked to the top of the form


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