[Bug 288881] New: Sometimes after login the approver does not work

George Kiagiadakis kiagiadakis.george at gmail.com
Tue Dec 13 10:59:57 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=288881

           Summary: Sometimes after login the approver does not work
           Product: telepathy
           Version: git-latest
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: approver
        AssignedTo: kde-telepathy at kde.org
        ReportedBy: kiagiadakis.george at gmail.com


I have this weird problem on my laptop. Right after login, the approver doesn't
work. All new channels are dispatched immediately to the text-ui. MC logs say
that "no suitable approvers were found". However, the approver is running: it
can be verified with qdbus and also from ~/.xsession-errors where I can clearly
see the Tp::ClientRegistrar debug output saying that the approver was
registered on the bus. Restarting kded solves the problem for the current
session.

I fear this is some kind of race condition between kded and MC. A possible
scenario is this: Our integration kded module starts, it requests the
AccountManager, MC starts and registers itself on the bus, then the approver
starts before MC is ready, it doesn't wait for MC because it doesn't use
Tp::AccountManager, and meanwhile MC inspects the bus for existing clients, it
finds none because the approver has not been registered yet, then the approver
registers itself right before MC starts listening on the bus for new services.

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


More information about the KDE-Telepathy mailing list