[Mono-bugs] [Bug 566042] New: Darwin: Unable to execute Application.Run() more than once

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 18 11:46:10 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=566042

http://bugzilla.novell.com/show_bug.cgi?id=566042#c0


           Summary: Darwin: Unable to execute Application.Run() more than
                    once
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ralf.kornelius at kobil.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: No


Description of Problem:
After starting a window application with "Application.Run()", closing the form
an starting another form with "Application.Run()" the form will only be shown
and the function call will immediately return.


Steps to reproduce the problem:
1. Compile and start the following code:

static void Main()
        {
            Form f = new Form();
            f.Text = "Form1";
            Application.Run(f);


            Form f2 = new Form();
            f2.Text = "Form2";
            Application.Run(f2);

            Form f3 = new Form();
            f3.Text = "Form3";
            Application.Run(f3);

            //System.Threading.Thread.Sleep(3000);
        }


Actual Results:
The function call Application.Run(f2) + Application.Run(f3) return immediately 

Expected Results:
The function calls should only return if the forms are closed


How often does this happen? 
Always

Additional Information:

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