Bug 37786

Summary: MC ignores my preferred handler when requesting a channel
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: mission-controlAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTABUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Guillaume Desmottes 2011-05-31 04:16:51 UTC
I request a channel setting Empathy.Chat as preferred handler but MC ignores it and try to dispatch to Empathy (which is not a handler anymore in the version I'm running).



mcd-DEBUG: 31/05/2011 13:16:02.910546: dispatcher_channel_request_acl_start: start /org/freedesktop/Telepathy/Account/gabble/jabber/cassidy_2dtest1_40jabber_2ebelnet_2ebe0.org.freedesktop.Telepathy.Connection.Interface.Requests.EnsureChannel acl (0x12e0cc0)
mcd-DEBUG: 31/05/2011 13:16:02.910780: dispatcher_channel_request_acl_success: complete acl (0x12e0cc0)
mcd-DEBUG: 31/05/2011 13:16:02.910959: _mcd_request_init: 0x1458160
mcd-DEBUG: 31/05/2011 13:16:02.911185: _mcd_request_new: 0x1458160 (for 0x1361a50)
mcd-DEBUG: 31/05/2011 13:16:02.911315: _mcd_channel_set_status: 0x13f8460, 1
mcd-DEBUG: 31/05/2011 13:16:02.911536: _mcd_request_predict_handler: Default handler org.freedesktop.Telepathy.Client.Empathy for request /com/nokia/MissionControl/requests/r20 doesn't want AddRequest
mcd-DEBUG: 31/05/2011 13:16:02.911636: dispatcher_channel_request_acl_cleanup: cleanup acl (0x12e0cc0)
mc-plugins-DEBUG: 31/05/2011 13:16:02.910765: dbus-acl: mcp_dbus_acl_authorised_async: -: DBus access ACL verification: 0 rules for org.freedesktop.Telepathy.Connection.Interface.Requests.EnsureChannel
mcd-DEBUG: 31/05/2011 13:16:02.926251: ready_to_request_cb: Starting online request
mcd-DEBUG: 31/05/2011 13:16:02.926306: _mcd_account_online_request: connection status for gabble/jabber/cassidy_2dtest1_40jabber_2ebelnet_2ebe0 is 0
mcd-DEBUG: 31/05/2011 13:16:02.926348: _mcd_account_online_request: gabble/jabber/cassidy_2dtest1_40jabber_2ebelnet_2ebe0 is already connected
mcd-DEBUG: 31/05/2011 13:16:02.926389: online_request_cb: called
mcd-DEBUG: 31/05/2011 13:16:02.926434: _mcd_mission_set_parent: child = 0x13f8460, parent = 0x134cbc0
mcd-DEBUG: 31/05/2011 13:16:02.926554: _mcd_channel_set_status: 0x13f8460, 2
mcd-DEBUG: 31/05/2011 13:16:02.954087: common_request_channel_cb: 0x13f8460, object /org/freedesktop/Telepathy/Connection/gabble/jabber/cassidy_2dtest1_40jabber_2ebelnet_2ebe_2fceb47283/MucChannel1
mcd-DEBUG: 31/05/2011 13:16:02.955849: _mcd_dispatcher_take_channels: requested channel 0x13f8460 (only): /org/freedesktop/Telepathy/Connection/gabble/jabber/cassidy_2dtest1_40jabber_2ebelnet_2ebe_2fceb47283/MucChannel1
mcd-DEBUG: 31/05/2011 13:16:02.955923: _mcd_dispatcher_take_channels: possible handler(s) found, dispatching 1 channels
mcd-DEBUG: 31/05/2011 13:16:02.955965: _mcd_channel_set_status: 0x13f8460, 3
mcd-DEBUG: 31/05/2011 13:16:02.956011: _mcd_dispatcher_enter_state_machine: CTXREF11 on 0x1357e50
mcd-DEBUG: 31/05/2011 13:16:02.956053: _mcd_dispatcher_enter_state_machine: new dispatcher context 0x1357e50 for requested channel 0x13f8460 (only): /org/freedesktop/Telepathy/Connection/gabble/jabber/cassidy_2dtest1_40jabber_2ebelnet_2ebe_2fceb47283/MucChannel1
mcd-DEBUG: 31/05/2011 13:16:02.956115: mcd_dispatch_operation_set_property: Extracted preferred handler: org.freedesktop.Telepathy.Client.Empathy.Chat
mcd-DEBUG: 31/05/2011 13:16:02.956167: mcd_dispatch_operation_constructor: do52/0x145a5f0: needs_approval=F
mcd-DEBUG: 31/05/2011 13:16:02.956212: _mcd_plugin_dispatch_operation_init: 0x13fb210
mcd-DEBUG: 31/05/2011 13:16:02.956255: _mcd_plugin_dispatch_operation_new: 0x13fb210 (for 0x145a5f0)
mcd-DEBUG: 31/05/2011 13:16:02.956301: _mcd_dispatcher_enter_state_machine: entering state machine for context 0x1357e50
mcd-DEBUG: 31/05/2011 13:16:02.956343: mcd_dispatcher_context_ref: CTXREF01 on 0x1357e50 (ref = 1)
mcd-DEBUG: 31/05/2011 13:16:02.956384: _mcd_dispatch_operation_run_clients: do52 0x145a5f0
mcd-DEBUG: 31/05/2011 13:16:02.956427: _mcd_dispatch_operation_handlers_can_bypass_observers: org.freedesktop.Telepathy.Client.Empathy has BypassObservers=F
mcd-DEBUG: 31/05/2011 13:16:02.956465: _mcd_dispatch_operation_run_clients: Running observers
mcd-DEBUG: 31/05/2011 13:16:02.956602: _mcd_dispatch_operation_inc_observers_pending: 0 -> 1
mcd-DEBUG: 31/05/2011 13:16:02.956646: _mcd_dispatch_operation_run_observers: calling ObserveChannels on org.freedesktop.Telepathy.Client.Logger for CDO 0x145a5f0
mcd-DEBUG: 31/05/2011 13:16:02.957055: _mcd_dispatch_operation_inc_observers_pending: 1 -> 2
mcd-DEBUG: 31/05/2011 13:16:02.957101: _mcd_dispatch_operation_run_observers: calling ObserveChannels on org.freedesktop.Telepathy.Client.Empathy.ChatroomManager._3a1_2e193.n0 for CDO 0x145a5f0
mcd-DEBUG: 31/05/2011 13:16:02.957425: _mcd_dispatch_operation_run_clients: All necessary observers invoked
mcd-DEBUG: 31/05/2011 13:16:02.957467: _mcd_dispatch_operation_run_clients: Checking finished/locks
mcd-DEBUG: 31/05/2011 13:16:02.957510: _mcd_dispatch_operation_handlers_can_bypass_approval: org.freedesktop.Telepathy.Client.Empathy has BypassApproval=F
mcd-DEBUG: 31/05/2011 13:16:02.957552: mcd_dispatcher_context_unref: CTXREF01 on 0x1357e50 (ref = 2)
mcd-DEBUG: 31/05/2011 13:16:02.957593: mcd_dispatcher_context_unref: CTXREF11 on 0x1357e50 (ref = 1)
mcd-DEBUG: 31/05/2011 13:16:02.957633: mcd_dispatcher_context_unref: freeing the context 0x1357e50
mcd-DEBUG: 31/05/2011 13:16:02.960534: on_channel_ready: channel 0x13f8460 is ready
mcd-DEBUG: 31/05/2011 13:16:02.966561: observe_channels_cb: success from /org/freedesktop/Telepathy/Client/Logger
mcd-DEBUG: 31/05/2011 13:16:02.966615: _mcd_dispatch_operation_dec_observers_pending: 2 -> 1
mcd-DEBUG: 31/05/2011 13:16:02.969527: observe_channels_cb: success from /org/freedesktop/Telepathy/Client/Empathy/ChatroomManager/_3a1_2e193/n0
mcd-DEBUG: 31/05/2011 13:16:02.969578: _mcd_dispatch_operation_dec_observers_pending: 1 -> 0
mcd-DEBUG: 31/05/2011 13:16:02.969621: _mcd_plugin_dispatch_operation_observers_finished: 0x13fb210
mcd-DEBUG: 31/05/2011 13:16:02.969664: _mcd_dispatch_operation_check_client_locks: trying next handler
mcd-DEBUG: 31/05/2011 13:16:02.969719: _mcd_dispatch_operation_try_next_handler: Approved handler is org.freedesktop.Telepathy.Client.Empathy.Chat (still exists: N, already failed: N)
mcd-DEBUG: 31/05/2011 13:16:02.969763: _mcd_dispatch_operation_try_next_handler: Possible handler: org.freedesktop.Telepathy.Client.Empathy (still exists: Y, already failed: N)
mcd-DEBUG: 31/05/2011 13:16:02.969808: mcd_dispatch_operation_try_handler: do52: channel ACL verification [1 channels]
mcd-DEBUG: 31/05/2011 13:16:02.969885: _mcd_client_proxy_handle_channels: calling HandleChannels on org.freedesktop.Telepathy.Client.Empathy
mcd-DEBUG: 31/05/2011 13:16:02.970004: _mcd_channel_set_status: 0x13f8460, 4
mcd-DEBUG: 31/05/2011 13:16:03.70446: dbusprop_get_all: org.freedesktop.Telepathy.AccountManager
mcd-DEBUG: 31/05/2011 13:16:03.70507: get_valid_accounts: called
mcd-DEBUG: 31/05/2011 13:16:03.70590: get_invalid_accounts: called
mcd-DEBUG: 31/05/2011 13:16:03.70636: mcd_dbus_get_interfaces: called
Comment 1 Guillaume Desmottes 2011-05-31 04:21:38 UTC
Ignore that, my empathy-chat wasn't running on the right bus...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.