[Bug 26752] Setting a not supported presence state to a telepathy account does not deliver any failing feedback

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 6 10:26:51 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=26752

Andre Moreira Magalhaes <andrunko at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://git.collabora.co.uk/
                   |                            |?p=user/andrunko/telepathy-
                   |                            |mission-control.git;a=short
                   |                            |log;h=refs/heads/account-ch
                   |                            |anging-presence

--- Comment #10 from Andre Moreira Magalhaes <andrunko at gmail.com> 2010-05-06 01:26:51 PDT ---
Updated my branch with the suggested modifications. tp-qt4 and spec patches
unchanged.

Some notes:
- ChangingPresence=TRUE happens whenever mcd_account_request_presence_int or a
temporary presence is requested is called, which happens inside
Set(RequestedPresence) and also when going to/from idle, enable/disable, auto
presence, so the user can rely on this property to check whether a change in
the presence is in place.
- ChangingPresence=FALSE only happens when the we are sure the presence "set"
is supported (set to hidden on gabble for eg will emit CurrentPresence=hidden
then CurrentPresence=busy and only when busy it will set ChangingPresence to
FALSE).

Logs from a test app I wrote (testing on gabble):

Setting to hidden:

andrunko at andrunko-laptop:~/work/telepathy/telepathy-qt4/examples/accounts$
./accounts 
requested presence changed to "hidden" 
changing presence changed to "true" 
connection status changed to 1 
connection status changed to 0 
current presence changed to "hidden" 
current presence changed to "dnd" 
changing presence changed to "false" 

Setting to available:

andrunko at andrunko-laptop:~/work/telepathy/telepathy-qt4/examples/accounts$
./accounts 
requested presence changed to "available" 
changing presence changed to "true" 
connection status changed to 1 
connection status changed to 0 
current presence changed to "available" 
changing presence changed to "false" 

Setting to available and then hidden:

andrunko at andrunko-laptop:~/work/telepathy/telepathy-qt4/examples/accounts$
./accounts 
changing presence changed to "true" 
requested presence changed to "available" 
connection status changed to 1 
connection status changed to 0 
current presence changed to "available" 
changing presence changed to "false" 
requested presence changed to "hidden" 
changing presence changed to "true" 
current presence changed to "dnd" 
changing presence changed to "false"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list