[Mono-bugs] [Bug 434754] New: NotifyIcon not working on MacOSX

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 13 09:00:01 EDT 2008


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


           Summary: NotifyIcon not working on MacOSX
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: 32bit
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: davidcanar at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


Setting up a simple NotifyIcon on a Windows.Forms app throws the following
exception:

Unhandled Exception: System.NotImplementedException: The requested feature is
not implemented.
  at System.Windows.Forms.XplatUICarbon.SystrayAdd (IntPtr hwnd, System.String
tip, System.Drawing.Icon icon, System.Windows.Forms.ToolTip& tt) [0x00000] 
  at System.Windows.Forms.XplatUI.SystrayAdd (IntPtr handle, System.String tip,
System.Drawing.Icon icon, System.Windows.Forms.ToolTip& tt) [0x00000] 
  at System.Windows.Forms.NotifyIcon.ShowSystray () [0x00000] 
  at System.Windows.Forms.NotifyIcon.set_Visible (Boolean value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.NotifyIcon:set_Visible (bool)
  at TestTaskBarWinForms.Form1..ctor () [0x00000] 
  at (wrapper remoting-invoke-with-check) TestTaskBarWinForms.Form1:.ctor ()
  at TestTaskBarWinForms.Program.Main () [0x00000]

This works on Windows and Linux but not on a Mac and I think this is part of
the 2.0 API that mono should support?

Tested using Mono 2.0 RC4 for MacOSX. I will attach the test case.


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