[Mono-winforms-list] NotifyIcon not working in Windows XP
Sanford Armstrong
sanfordarmstrong at gmail.com
Thu Jun 8 00:09:02 EDT 2006
Hey all,
I'm trying to get System.Windows.Forms.NotifyIcon to work properly in
Windows XP SP2 using Mono. I've tried with 1.1.13.8_0 and 1.1.15_1,
but I keep having the same problems. I've downloaded the following
test:
http://svn.myrealbox.com/viewcvs/trunk/winforms/notifyicon/swf-notifyicon.cs?view=markup
If I run the compiled program using the Microsoft .NET runtime, it
works as expected. If I run it with Mono, the following defects
occur:
1) The icon does not show up in the system tray. Instead, there is a
blank space.
2) The tooltip text appears with a bunch of junk characters appended to the end.
3) Left- or Right-clicking on the system tray "icon" causes the test
program to crash.
4) In the form, the image of the icon appears discolored and pixelated.
I've seen lots of old postings on this list indicating that NotifyIcon
works fine, so I'm wondering if this is a regression and I should
write a bug, or if I'm doing something wrong.
The reason I am looking into this is that I am hoping to improve the
port of Tomboy to Win32 so I can use at work. The use of NotifyIcon
in Tomboy has the same difficulties, except that clicking on the tray
icon works fine.
Happy hacking,
Sandy
More information about the Mono-winforms-list
mailing list