If I have two presence applets for some reason (e.g. one on desktop, one on pannel), they often show different things. I think, this is probably mostly manifestations of the other bugs I've just reported. However, I suspect in the case where I use one applet to start bringing an account online, some extra implementation will be necessary. In this case, I'd like to see the second presence applet also display the feedback indicating that the account is in the process of going online.
Using a timer to set up a timeout for the updating presence msg. Sometimes when we try to set up an invalid presence status (like some xmpp server that doesn't supports invisible presence) the data engine will not emit any presence changed signal and the applet will wait forever for that signal. This timer will avoid this blocking situation. So when it timeouts the applet will return to the last presence status. BUG: 203344 BUG: 203345 M +17 -1 presencewidget.cpp M +2 -0 presencewidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1010985