When my computer is locked for some reason the tray application doesn't detect it and it still shows the online button.
I am on windows 7, but I also tested it on a windows XP machine and it does the same.
I am accessing my machine mainly using Remote desktop and I think this has something to do with the issue.