[Mono-bugs] [Bug 564444] New: MessageBox.Show invariably throws System.NotImplementedException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 14 10:54:56 EST 2009



           Summary: MessageBox.Show invariably throws
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: webservices at landmarkdigital.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv: Gecko/20091102 Firefox/3.5.5

The ubiquitous System.Windows.Forms.MessageBox.Show method attempts to play an
audible alert on every invokation.  As of mono 2.6 RC1 (also confirmed on mono
2.4.3) on OSX, this throws a System.NotImplementedException.  We were able to
call MessageBox.Show() in mono 2.2_5.

Reproducible: Always

Steps to Reproduce:
Save the following to file 'DialogTest.cs':
public class DialogTest
  public static void Main (string[] arg)

Compile the code:
PROMPT > gmcs DialogTest.cs -o:DialogTest.exe -r:System.Windows.Forms.dll

Execute the code:
PROMPT > mono --debug DialogTest.exe 

Actual Results:  
Unhandled Exception: System.NotImplementedException: The requested feature is
not implemented.
  at System.Windows.Forms.XplatUICarbon.AudibleAlert () [0x00000] in
  at System.Windows.Forms.XplatUI.AudibleAlert () [0x00000] in
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog () [0x00034] in
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MessageBox/MessageBoxForm:RunDialog ()
  at System.Windows.Forms.MessageBox.Show (System.String text) [0x0000f] in
  at DialogTest.Main (System.String[] arg) [0x00000] in <filename unknown>:0 

Expected Results:  
Happy windows all around

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