aMSN Forums
May 25, 2013, 01:14:53 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Two tray icons  (Read 7015 times)
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« on: October 03, 2009, 04:40:16 pm »

Hello guys, i wanna report a bug. Sorry if it has already been reported but i couldn't find anything searching the forums.
Well, just look you'll understand the problem :


I'm stuck on my father's laptop since my graphic card died ... I miss linux ...
Like you can see, there are two tray icons. One looks like i'm connected and the second one looks like i'm not (i'm actually connected)
No, there are not two amsn launched, it is the same instance, i'm sure of it. My contact list shows up and hide when i click on any icon and only one wish.exe is launched. I'm not sure if it does it every time but it had done it several times.
(I'm on XP sp3, and amsn is a svn maybe 2 days old)
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: October 03, 2009, 11:16:17 pm »

no, i won't tell you what you did wrong because you disappeared from IRC and you didn't ask us directly.. ma kat 7chemch :p
anyways, never seen this.. are you sure that both icons are for amsn ? try 'winfo children .' in the amsn console... it's weird!
Logged

KaKaRoTo
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« Reply #2 on: October 04, 2009, 02:59:44 am »

Yeah i did disappear from irc, since my own computer blew up ... =( i now steal my father's every time my net addiction tells me to connect stronger i can resist x) (maybe the maths and chemistery tests i had yesterday had also something to do with me disappearing from irc ^^)
Yeah i'm sure both are for amsn, both of them bring the contact list and reduce it when i click on them, and the right click menu is the same for both of them. The difference is that the "infobulle" (don't remember the name in english sorry) of the one which show a disconnected icon says disconnected and the other one is normal.
I'll try the command you gave next time the bug happens, right now it's behaving perfectly normally, i have just one icon.
Logged
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« Reply #3 on: October 06, 2009, 10:42:41 pm »

FINALLY I HAVE THE BUG AGAIN ! \o/
When you say amsn console you mean ctrl+S in the contactlist right ?
It tells me :
Code:
wrong # args: should be "winfo children window"
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #4 on: October 06, 2009, 11:10:11 pm »

there was a 'dot' at the end.. it's not 'winfo children', it's 'winfo children .'
Logged

KaKaRoTo
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« Reply #5 on: October 06, 2009, 11:31:05 pm »

Sorry master  :oops:
Anyway, i get this :
Code:
[22:37:47] Executing : winfo children .
[22:37:47] .#BWidget .plugins_log .my_menu .user_menu .menu_invite .main_menu .#main_menu .main .status .degt .nscmd .trayiconwin .container_0

Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #6 on: October 07, 2009, 01:57:10 am »

humm.. I realized that info is useless.. but anyways, i looked at the code.. no idea what's wrong.. but I committed a little possible bugfix although it's for a usecase that can't exactly happen...
Logged

KaKaRoTo
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« Reply #7 on: October 07, 2009, 05:16:21 pm »

I think i found out how to reproduce it. I just have to launch amsn right when the desktop shows up.
If i can do anything else ... (i'll update to svn now and try your fix next time i reboot)
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #8 on: October 07, 2009, 06:30:45 pm »

WHAT??? you... REBOOT???
Logged

KaKaRoTo
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« Reply #9 on: October 07, 2009, 08:33:42 pm »

Windows .. ahhh windows ... I have to Cry
Actually i do it even on linux, not exactly reboot but i shut it down every night and turn it on back when i come back home every day. I have to cause my father would kill me for such a waste of power ('letting your computer run for the good of science ? Folding@Home ? ARE YOU CRAZY !!!! ') xD and my computer heats a LOT so my room would turn in a real oven x)
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #10 on: October 08, 2009, 12:23:58 am »

my home is an oven, I pay for the electricity, and I don't do folding@home.. but I never shut down either one of my pcs (all 4 of them! although.. I do suspend the laptops)...
Logged

KaKaRoTo
arantes
Super Power User
**
Offline Offline

Posts: 364



View Profile
« Reply #11 on: October 10, 2009, 02:39:54 am »

Oh poor Kakaroto ^^
Seriously, i now am sure how to reproduce the bug : i just have to launch amsn right when the desktop shows up. And your fix didn't ... fix anything ^^
Can i do anything more ?
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #12 on: October 10, 2009, 11:28:14 pm »

read the code and figure out what went wrong...
look at trayicon.tcl and look for 'winico taskbar add' and to add
Code:
puts "doing whatever, value of $whatever_variable"
whenever you see "winico"  (especially in trayicon_init and statusicon_proc ) and make sure you print everytime a winico is created, what's its value, and what's $wintrayicon and what's the arguments received by the proc, etc...
then ctrl-shift-C to see what it outputed...
and figure it out and send me a patch! Smiley
Logged

KaKaRoTo
Annihilannic
Newbie

Offline Offline

Posts: 5


View Profile
« Reply #13 on: October 11, 2009, 07:54:59 am »

I have a similar problem, although I sometimes get more than 2 tray icons.

I hibernate my computer when I'm not using it (doing my bit for the environment!), and it seems to add an icon every time my system comes out of hibernation.
Logged
Annihilannic
Newbie

Offline Offline

Posts: 5


View Profile
« Reply #14 on: October 14, 2009, 10:43:28 am »

Here's a good example... 3 icons, all displaying different statuses (statii?):



This is with only one wish.exe process running.  aMSN 0.97.2, Windows XP Home SP3.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!