You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using an older git version since I'm using Gnome 3.30, I was having a problem that the only contacts shown in the SMS window was the ones that I received SMS, then I decided to update to the Shell Extensions version (uninstalled and installed again). Now, I can't configure my devices (they don't show up in configurations (pairing again won't fix) and no contacts at all show when I try to send a SMS. Sending ping, SMS to a number, browsing files and other stuff works normally.
Hmm, it's tricky because a lot of things changed during that period that were not at all backwards or forwards compatible.
In particular, I moved the cached contacts file on purpose, because GData (direct to Google) support was removed and the file format changed to support the upcoming Android contacts sync plugin. This was probably when your contacts disappeared.
If you're okay starting from scratch, I'd recommend you uninstall and wipe everything listed in File Locations. At this point you might as well pull from master since it's quite close to v14, and you could even grab a build of the Android app from the new nightly build server and test out some of the experimental stuff like SMS history and contacts sync.
In any case, if a full wipe doesn't fix this let me know because the problem is probably deeper (maybe in the libfolks wrapper).
My devices are showing in the config window now! But I still can't see any contact. I went conservative with Play Store and v13 because I need to be sure it's working since I use it for productivity. Looking forward to v14 final version though.
Sound good, there are still some changes happening in Android before SMS/Contacts lands and we might have to make some changes afterwards to make it work.
If you have your contacts in Google, and have the dependencies for Desktop Contacts installed, you will still need to have the account registered in Gnome Online Accounts for that to work. I'll try and remember to clarify that in the Wiki.
v14 was uploaded with a single fix that was affecting a lot of people, but all of this work is almost ready to be released as v15. We just need to clean up a few things since it's a big release in a lot of ways.
I guess I'm using v14 now (nothing happens when I click "about") and the new SMS history is great! I still can't send a message to a new contact (only number), but if the person already sent a message, it shows up (and that's enough functionality for me, although I know it's not the desired behaviour). I have my contacts in Google, the dependencies and the account in Gnome settings, gnome-contacts app shows all my contacts by the way. It's weird that this is happening since the names and pictures appear correctly if I already exchanged messages with the person.
That's a bit odd, but I may know what is causing this issue. One thing that is difficult with KDE Connect is that a device won't report what plugins it has loaded, it will only report what capabilities it would support if all its plugins were loaded. Hmm, that's confusing; in other words it reports what "packets" it supports, but not whether it will actually do anything with them.
So for contacts, the device has to decide whether it's going to use contacts from the desktop or contacts from the phone. The contacts plugin will be automatically loaded if the device claims it supports it, and if it is loaded that's where GSConnect will look for contacts. Here is the check:
Maybe that's not working on your device, or maybe something else is wrong, but what you can try is to disable that plugin in the Device Settings -> Advanced. The change will happen immediately, so all you have to do is open a new SMS window and the new source will be used. Give that a try and let me know?
I tried disabling "contacts" plugin and now any contact show up, the previously shown contacts now are just numbers. Maybe KDE Connect on the phone isn't "sending" the contacts list? I already tried to reinstall the app, it is up to date and all the permissions are granted.
EDIT: I have a tablet synced too and even though it doesn't have a SIM card, I can open the SMS/contacts window and after enabling SMS/contacts plugins on phone and PC, all my contacts show up just fine. Definitely it is something with my phone.
Open SMS window, select "Sync Contacts" in app-menu (the menu in the panel beside Activities)
Wait a few seconds, then close/open window
If you have two devices it might be hard to tell which <device-id> is right, but you can delete both contacts.json because if the plugin is still enabled it will have that info in memory.
If that still doesn't work, might be a problem with Unicode characters if you have non-English names. I made a few names with special characters for testing, but maybe I missed something and we can track that down in the log files.
Done, it wasn't difficult to find which device was right because the tablet folder was full of contact pictures. It didn't work again, and even the contacts that were showing disappeared. I don't think it's related with Unicode characters since I have the same Google Account and contacts on my tablet, but the non english characters are: ÃĄ ÃĐ Ã Ãģ Ãī ÃĢ Ã§
What would happen if I copy contacts.json from the tablet folder to the phone folder? Since theoretically they're the same contacts?
I don't think it's related with Unicode characters since I have the same Google Account and contacts on my tablet...
That is strange, there's definitely nothing different done for tablets and phones.
What would happen if I copy contacts.json from the tablet folder to the phone folder? Since theoretically they're the same contacts?
Yep, that should work. The two files should be exactly the same, just make sure you have the plugin disabled for your phone when you copy the contacts.json file over. The images are absolute paths though, so they will point to your tablet's cache directory. As long as you don't delete those files this should work.
I know you said you're using this at work, but if you're playing with the cache files, maybe you want to give something new a shot. I've been trying to find time to redo the messaging UI, but there's been a lot of bug reports lately.
Anyways, this Zip is basically v16 (just released), only changes are a newer SMS UI and all the old, unused telephony junk has been stripped out:
I too am having this issue. No contacts are synchronized on my desktop. I'm currently using GSConnect v17, but this feature didn't work in previous versions either. I do have the required dependencies installed. Using Ubuntu 18.10 and Samsung Galaxy S6.
I tried disabling the contacts plugin, deleting the contacts.json file and enabling the plugin but nothing changed.
Are the contacts not being stored in contacts.json or are they just not showing in the messaging UI? Could you try this Zip that includes two contact related fixes?
Contacts sync problem is still here. I am using Ubuntu 18.10 Desktop (Gnome-Shel 3.30 + GSConnect-plugin v19 in About screen) with Nokia6/Android8 in which I have KDE Connect app installed from Google Play store and no Contacts or Messaging converstaions get synced from the phone to desktop.
I've removed the [bug] tag since I'm not convinced this is a bug in GSConnect, but more likely another Android vendor specific problem with contacts storage. We'll need a debug log with errors showing GSConnect making a mistake or an empty contacts packet to be sure of either.
CentOS 7 AMD64
GSConnect installed from extensions.gnome.org (v24)
Installed folks (PackageKit and gnome-packagekit were already installed)
All Android permissions for KDE Connect (v1.12.93) are enabled.
I use Google Contacts.
First I tried to enable Contacts plugin (in both Android and CentOS). Messages synced, but not the contacts.
Then I disabled the Contacts plugin (in both Android and CentOS). Installed folks package. I was already signed into Gnome Contacts using my Google credentials. Still, the messages synced, but not the contacts.
I tried to generate support log, but I have no idea if I did it right. Here is the output:
Unfortunately there are no relevant errors related to GSConnect here. This just shows the contacts plugin being loaded, GSConnect requesting the contacts, you phone not sending any contacts and then the plugin being unloaded.
I'd recommend you file an upstream report on the KDE Connect Bug Tracker. If you phone is not sending any contacts, this is likely a bug in the Android app.
If you want to use folks, you may have to restart GNOME Shell, I'm not aware if GSConnect will detect if you install it while running.
Activity
andyholmes commentedon Oct 28, 2018
Hmm, it's tricky because a lot of things changed during that period that were not at all backwards or forwards compatible.
In particular, I moved the cached contacts file on purpose, because GData (direct to Google) support was removed and the file format changed to support the upcoming Android contacts sync plugin. This was probably when your contacts disappeared.
If you're okay starting from scratch, I'd recommend you uninstall and wipe everything listed in File Locations. At this point you might as well pull from master since it's quite close to v14, and you could even grab a build of the Android app from the new nightly build server and test out some of the experimental stuff like SMS history and contacts sync.
In any case, if a full wipe doesn't fix this let me know because the problem is probably deeper (maybe in the libfolks wrapper).
pedrofleck commentedon Nov 2, 2018
My devices are showing in the config window now! But I still can't see any contact. I went conservative with Play Store and v13 because I need to be sure it's working since I use it for productivity. Looking forward to v14 final version though.
andyholmes commentedon Nov 2, 2018
Sound good, there are still some changes happening in Android before SMS/Contacts lands and we might have to make some changes afterwards to make it work.
If you have your contacts in Google, and have the dependencies for Desktop Contacts installed, you will still need to have the account registered in Gnome Online Accounts for that to work. I'll try and remember to clarify that in the Wiki.
v14 was uploaded with a single fix that was affecting a lot of people, but all of this work is almost ready to be released as v15. We just need to clean up a few things since it's a big release in a lot of ways.
pedrofleck commentedon Nov 10, 2018
I guess I'm using v14 now (nothing happens when I click "about") and the new SMS history is great! I still can't send a message to a new contact (only number), but if the person already sent a message, it shows up (and that's enough functionality for me, although I know it's not the desired behaviour). I have my contacts in Google, the dependencies and the account in Gnome settings, gnome-contacts app shows all my contacts by the way. It's weird that this is happening since the names and pictures appear correctly if I already exchanged messages with the person.
andyholmes commentedon Nov 10, 2018
That's a bit odd, but I may know what is causing this issue. One thing that is difficult with KDE Connect is that a device won't report what plugins it has loaded, it will only report what capabilities it would support if all its plugins were loaded. Hmm, that's confusing; in other words it reports what "packets" it supports, but not whether it will actually do anything with them.
So for contacts, the device has to decide whether it's going to use contacts from the desktop or contacts from the phone. The contacts plugin will be automatically loaded if the device claims it supports it, and if it is loaded that's where GSConnect will look for contacts. Here is the check:
https://github.com/andyholmes/gnome-shell-extension-gsconnect/blob/7aae6ca13330807c9e32b1fa7b49ca7d7acc1f97/src/service/device.js#L160-L163
Maybe that's not working on your device, or maybe something else is wrong, but what you can try is to disable that plugin in the Device Settings -> Advanced. The change will happen immediately, so all you have to do is open a new SMS window and the new source will be used. Give that a try and let me know?
pedrofleck commentedon Nov 10, 2018
I tried disabling "contacts" plugin and now any contact show up, the previously shown contacts now are just numbers. Maybe KDE Connect on the phone isn't "sending" the contacts list? I already tried to reinstall the app, it is up to date and all the permissions are granted.
EDIT: I have a tablet synced too and even though it doesn't have a SIM card, I can open the SMS/contacts window and after enabling SMS/contacts plugins on phone and PC, all my contacts show up just fine. Definitely it is something with my phone.
andyholmes commentedon Nov 11, 2018
Oh okay, maybe something went wrong during the contacts sync the first time. Try this then instead:
~/.cache/gsconnect/<device-id>/contacts.jsonIf you have two devices it might be hard to tell which
<device-id>is right, but you can delete bothcontacts.jsonbecause if the plugin is still enabled it will have that info in memory.If that still doesn't work, might be a problem with Unicode characters if you have non-English names. I made a few names with special characters for testing, but maybe I missed something and we can track that down in the log files.
pedrofleck commentedon Nov 11, 2018
Done, it wasn't difficult to find which device was right because the tablet folder was full of contact pictures. It didn't work again, and even the contacts that were showing disappeared. I don't think it's related with Unicode characters since I have the same Google Account and contacts on my tablet, but the non english characters are:
ÃĄ ÃĐ Ã Ãģ Ãī ÃĢ Ã§What would happen if I copy
contacts.jsonfrom the tablet folder to the phone folder? Since theoretically they're the same contacts?andyholmes commentedon Nov 12, 2018
That is strange, there's definitely nothing different done for tablets and phones.
Yep, that should work. The two files should be exactly the same, just make sure you have the plugin disabled for your phone when you copy the
contacts.jsonfile over. The images are absolute paths though, so they will point to your tablet's cache directory. As long as you don't delete those files this should work.andyholmes commentedon Nov 14, 2018
I know you said you're using this at work, but if you're playing with the cache files, maybe you want to give something new a shot. I've been trying to find time to redo the messaging UI, but there's been a lot of bug reports lately.
Anyways, this Zip is basically v16 (just released), only changes are a newer SMS UI and all the old, unused telephony junk has been stripped out:
gsconnect@andyholmes.github.io.zipI'd now encourage you to use the latest Zip from #332 if you're interested in testing.
logix2 commentedon Nov 27, 2018
I too am having this issue. No contacts are synchronized on my desktop. I'm currently using GSConnect v17, but this feature didn't work in previous versions either. I do have the required dependencies installed. Using Ubuntu 18.10 and Samsung Galaxy S6.
I tried disabling the contacts plugin, deleting the contacts.json file and enabling the plugin but nothing changed.
andyholmes commentedon Nov 27, 2018
Are the contacts not being stored in contacts.json or are they just not showing in the messaging UI? Could you try this Zip that includes two contact related fixes?
gsconnect@andyholmes.github.io.zip(removed, see below)11 remaining items
jjaone commentedon Jan 10, 2019
Contacts sync problem is still here. I am using Ubuntu 18.10 Desktop (Gnome-Shel 3.30 + GSConnect-plugin v19 in About screen) with Nokia6/Android8 in which I have KDE Connect app installed from Google Play store and no Contacts or Messaging converstaions get synced from the phone to desktop.
andyholmes commentedon Jan 10, 2019
Hi, can you please update to the latest release on Github, v20, using the instructions in the Wiki and see if that solves the problem?
danjac commentedon Jan 13, 2019
Fedora 29, latest github release, KDEConnect app + Samsung Galaxy S6. Messaging conversations synced but contacts empty.
andyholmes commentedon Jan 14, 2019
Hi, can you confirm the Android app has contacts permissions, the contacts plugin enabled and what contacts app you are using?
Can you also please use the Generate Support Log feature, then open the messaging window and press the [+] button to sync and post the output?
andyholmes commentedon Mar 13, 2019
I've removed the [bug] tag since I'm not convinced this is a bug in GSConnect, but more likely another Android vendor specific problem with contacts storage. We'll need a debug log with errors showing GSConnect making a mistake or an empty contacts packet to be sure of either.
andyholmes commentedon May 5, 2019
Closing since there's been no activity or logs supplied in ~4 months. Please re-open if you can still reproduce this bug and supply logs.
tukusejssirs commentedon Aug 30, 2019
CentOS 7 AMD64
GSConnect installed from
extensions.gnome.org(v24)Installed
folks(PackageKitandgnome-packagekitwere already installed)All Android permissions for KDE Connect (v1.12.93) are enabled.
I use Google Contacts.
First I tried to enable Contacts plugin (in both Android and CentOS). Messages synced, but not the contacts.
Then I disabled the Contacts plugin (in both Android and CentOS). Installed
folkspackage. I was already signed into Gnome Contacts using my Google credentials. Still, the messages synced, but not the contacts.I tried to generate support log, but I have no idea if I did it right. Here is the output:
andyholmes commentedon Aug 31, 2019
Unfortunately there are no relevant errors related to GSConnect here. This just shows the contacts plugin being loaded, GSConnect requesting the contacts, you phone not sending any contacts and then the plugin being unloaded.
I'd recommend you file an upstream report on the KDE Connect Bug Tracker. If you phone is not sending any contacts, this is likely a bug in the Android app.
If you want to use folks, you may have to restart GNOME Shell, I'm not aware if GSConnect will detect if you install it while running.
krodelabestiole commentedon Apr 19, 2024
same here using grapheneOS.
unfortunalety the review log button doen't open any window or show any info. it just closes the popup :/
is the log stored somewhere ?