Bug 402472 - kaddressbook doesn't show any contacts
Summary: kaddressbook doesn't show any contacts
Status: REPORTED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 5.21.1
Platform: Kubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-22 20:12 UTC by kavol
Modified: 2022-09-18 00:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the problem (103.35 KB, image/png)
2018-12-22 20:12 UTC, kavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2018-12-22 20:12:26 UTC
Created attachment 117067 [details]
screenshot of the problem

Somewhen during upgrades, my contacts got lost - or to be precise, the ability of kmail to autocomplete addresses from contacts. (I don't know when that happened as the autocomplete still works with recent addresses so I haven't noticed until the address I needed wasn't among recently used ...)

Trying to fix that, I've opened kaddressbook to check the contact and eventually fix that, but I saw nothing and could fix nothing because there is nothing to configure in kaddressbook.

So I went to akonadiconsole to find there is no contacts agent. So I have added the one for vcf file and pointed it to the good old 'std.vcf' file.

Hooray, now autocomplete/search by name in kmail works for all the contacts ...

But I cannot (easily) edit them, as none of them are shown in kaddressbook.
(Well, via akonadiconsole I can edit anything ...)

However, kaddressbook obviously works with the vcf agent, as I can add a contact, it shows 'std.vcf' in a dropdown selecting where to store the new contact, and if I save it, it gets added to the 'std.vcf' file.

The appended screenshot shows a contact selected in akonadiconsole, so the agent obviously works, but at the same time no contacts are shown in kaddressbook ...

STEPS TO REPRODUCE
1. add a vcf file resource to akonadi
2. open kaddressbook
3. add a contact to that vcf

OBSERVED RESULT
you cannot see the freshly added contact in kaddressbook
examining the vcf file, you see the contact got added into it

EXPECTED RESULT
the new contact shows in kaddressbook
(and of course it is added to the file)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION