Summary: | IM log viewer Contacts and history empty | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kpeople | Reporter: | Dimitar Petrovski <dimeptr> |
Component: | general | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kpeoplevcard/commit/778d03445f41c536f2ca9116ee6acb5f4f01b868 | Version Fixed In: | |
Sentry Crash Report: |
Description
Dimitar Petrovski
2020-07-03 16:50:32 UTC
The actual problem comes from KPeopleVCard plugin which does not emit the initialFetchComplete signal. The plugin is added as a dependency for KDE Connect on Arch, so with KDE Connect installed the ktp-log-viewer is empty. the following patch fixes the problem: diff --git a/src/kpeoplevcard.cpp b/src/kpeoplevcard.cpp index bfaf71e..20531f6 100644 --- a/src/kpeoplevcard.cpp +++ b/src/kpeoplevcard.cpp @@ -153,6 +153,8 @@ KPeopleVCard::KPeopleVCard() processDirectory(QFileInfo(*vcardsLocation)); + emitInitialFetchComplete(true); + connect(m_fs, &KDirWatch::dirty, this, [this](const QString& path) { const QFileInfo fi(path); if (fi.isFile()) I will try to make a fork and commit the patch. It is my opinion that some timeout mechanism should be added in KPeople so that the other plugins still get displayed even if one plugin fails. A possibly relevant merge request was started @ https://invent.kde.org/pim/kpeoplevcard/-/merge_requests/1 Git commit 778d03445f41c536f2ca9116ee6acb5f4f01b868 by Dimitar Petrovski. Committed on 06/07/2020 at 16:36. Pushed by apol into branch 'master'. Emit the Initial Fetch Complete signal The plugin does not emit the initialFetchComplete signal which seems needed by AllContactsMonitor and PersonsModel does not get initialized since it waitd for the signal from all plugins M +2 -0 src/kpeoplevcard.cpp https://invent.kde.org/pim/kpeoplevcard/commit/778d03445f41c536f2ca9116ee6acb5f4f01b868 |