You are not logged in.

#1 2008-07-15 00:16:58

Thralas
Member
Registered: 2007-06-26
Posts: 32

Looking for someone on x86_64 to test a snippet of C#

I'm having trouble getting a piece of C# code to work. It's 100% correct and was found working by two users running x86, however on my x86_64 it doesn't.
It should display an icon in the notification area ('system tray'). For me it won't show the icon in gnome, but neither in openbox + trayer. The other two x86(!) users tested in on Gnome as well, and did get the icon to show up.
I'm looking for someone else on x86_64 to test this code, to eliminate (or confirm) that it's a very obscure x86_64 bug. Make sure you're fully synched up - that is Mono 1.9.1, with (preferably) Gnome 2.22.3 (but if it won't work on KDE/Xfce/anything else that pretty much identifies the problem as well).

You can find the 20-line snippet at http://pastebin.com/m4ebdcba6 (save as Test.cs)

Compiling is easy, `mcs -r:System.Drawing,System.Windows.Forms Test.cs` should do the trick, followed by `mono Test.exe`. You will get a messagebox, and at that time it *should* display the icon.

Thanks.

Offline

#2 2008-07-15 00:39:34

pheon
Member
From: Berlin, Germany
Registered: 2008-05-14
Posts: 91

Re: Looking for someone on x86_64 to test a snippet of C#

Hey,
I have x86_64 and exactly your setup (Mono 1.9.1 & Gnome 2.22.3).
I get the small box, stating "Testing!" and that's it. Nothing in the notification area appears.

Screenie
http://img401.imageshack.us/img401/8263 … hotja4.png

Regards


watching someone else use your computer is like watching a drunk orangutan solve a rubix cube

Offline

#3 2008-07-15 09:27:46

Thralas
Member
Registered: 2007-06-26
Posts: 32

Re: Looking for someone on x86_64 to test a snippet of C#

Thanks for testing. Your results confirm my findings, however I had someone on Gentoo x86_64 check it as well, who reported that it works. Now I'm totally lost again - is anyone else willing to give this code a try? Possibly it's Arch x86_64 related...

Offline

#4 2008-07-15 16:11:06

tanis
Member
From: Poland / Waterloo, ON, Canada
Registered: 2007-04-21
Posts: 259

Re: Looking for someone on x86_64 to test a snippet of C#

I have Arch64 on Intel Core2Duo, with [testing] repository enabled.
I use KDE 3.5.9. I could try it with KDE 4-svn later as well wink
Mono version: extra/mono-1.9.1-1

I tried that file and when I disable autohiding of my panel, it works correctly:
http://img389.imageshack.us/img389/5647/screen1lf1.png
If I hide the panel manually (by using the hide button on the right), and I show it again, the icon disappears, but the space is still occupied:
http://img519.imageshack.us/img519/473/screen3on2.png
When I have auto-hiding disabled, it appears fine (just like in the first picture), but when the panel hides and appears again I get black rectangle:
http://img242.imageshack.us/img242/3091/screen2ye7.png
The first time I tried it, the rectangle was white instead wink

Last edited by tanis (2008-07-15 16:16:06)

Offline

Board footer

Powered by FluxBB