[Mono-bugs] [Bug 349682] New: NotifyIcon does not display when not initialized in proper order

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 18 20:19:56 EST 2007


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


           Summary: NotifyIcon does not display when not initialized in
                    proper order
           Product: Mono: Class Libraries
           Version: 1.2.4
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: jaebird at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Description of Problem:

If the NotifyIcon.Visible property is set to true before the Icon is defined
nothing shows in the notify area. Obviously the real problem here is that the
behavior is not the same as MS

Steps to reproduce the problem:
1. Use the code snippet (A) below to reproduce this problem

Actual Results:
No icon is visible in the notification area.

Expected Results:
Work similar to MS, which is not order dependent.

How often does this happen? 
Always

Additional Information:

A) This does NOT work:
 notifyIcon = new NotifyIcon();
 notifyIcon.Visible = true;
 notifyIcon.Icon = someIcon;

B) This does work:
 notifyIcon = new NotifyIcon();

 notifyIcon.Icon = someIcon;

 notifyIcon.Visible = true;


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