Contacts temporarily disappear
On Sailfish X, contacts sometimes disappear, but come back in a while. This is observed sometimes when unlocking the phone and opening the People app (but quite rarely). It happens mostly when receiving an incoming call (maybe 15% of the time). Then only the number is shown. After a while the contacts are back. The absence can be a few seconds or a few minutes at most.
My contacts are synced from Google. I've tried deleting all contacts and adding back, but it didn't help.
I guess this could be related to this case https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/
Wild guess. It feels like the DB is locked or something (maybe from syncing) and then the contacts can't be read.
Update. The problem has gotten worse and contactsd daemon is often running at 100% load, also quickly draining the battery. (but problem partly solved, see below).
Update 2 (2018-05-18).
I've looked at the problem again and noticed that the contacts DB grows for every sync. After enabling google contacts, initially the DB is smaller than 2 MB. Now for every sync it is growing. I looked at the sqlite DB and it is creating duplicates of addresses and names, emails etc. but mostly it is creating rows in the DeletedContacts table. After letting it run for a couple of months the contacts DB is several hundred Megabytes large (DeletedContacts 30.000+ rows). And google contacts haven't changed almost at all. It almost sounds like the sync tool thinks that contacts need to be deleted and are syncing them again.
Update 3 (2018-05-24).
Finally solved. See last answer below.
on my aquafish, google sync takes quite a while - content disappears and reappears. on my Sailfish X, google sync works for contacts but not at all for events.
danfin ( 2017-12-07 16:03:48 +0300 )I notice that also on Jolla C and it may have started before the last official upgrade My contacts are mostly from Google sync.
pat_o ( 2017-12-07 16:08:55 +0300 )Turned out to be Whatsapp. <-- Wrong conclusion!
Update. And it began again. Looks like I have to permanently disable Android access to contacts. Or remove Whatsapp.
Update 2. Android acess to contacts has been turned off for a day, and now suddenly the phone is getting hot again (contactsd and google-contact alternating at 100% cpu load). This means that the problem is not Whatsapp or the Android layer. It is probably a problem with the data in google contacts. But how to debug it?
johanh ( 2018-01-13 00:07:36 +0300 )Does it help, if you disable/remove Google Sync ?
Upp15 ( 2018-01-14 23:04:07 +0300 )Of course, because then I have no contacts at all (all my contacts are synced from google).
johanh ( 2018-01-14 23:14:23 +0300 )