Summary: | Add contact dialog shows empty account combo | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | David Edmundson <kde> |
Component: | common-internals | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 0.7-beta | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/telepathy-common-internals/73f27b0f301ad17a16770aef016ab8c86e31e64b | Version Fixed In: | |
Sentry Crash Report: |
Description
David Edmundson
2013-09-09 13:33:29 UTC
This is because canRequestPresenceSubscription requires Tp::FeatureConnectionRoster which isn't ever loaded in kpeople mode. Non-kpeople mode should be unnafected. Possible Solutions: - upgrade the connections inside add-contact-dialog - manually query the connection ContactListInterface ( connection->interface<Client::ConnectionClientContactListInterface>()->requestPropertyCanChangeContactList(); - inside TpQt create a new feature FeatureContactListCapabilities. Fetch the properties if that exists, only process contactListState if FeatureRoster is also set. Make FeatureRoster depend on FeatureContactListCapabilities - disable the filtering? I don't want to just enable FeatureConnectionRoster in the main AccountManager as that particular feature is the most expensive and we turned it off for a reason. Git commit 73f27b0f301ad17a16770aef016ab8c86e31e64b by David Edmundson. Committed on 10/09/2013 at 01:00. Pushed by davidedmundson into branch 'master'. Fix empty combo box in "add contact" dialog In Kpeople mode we never request FeatureRoster to reduce DBus traffic fetching a roster list that we get from Nepomuk anyway. The add contact dialog needs this in order to tell if a roster is editable. This patch upgrades all connections. REVIEW: 112631 M +29 -0 KTp/Widgets/add-contact-dialog.cpp M +1 -0 KTp/Widgets/add-contact-dialog.h http://commits.kde.org/telepathy-common-internals/73f27b0f301ad17a16770aef016ab8c86e31e64b |