SimpleMobileTools / Simple-Contacts

Easy and quick contact management with no ads, handles groups and favorites too.
https://www.simplemobiletools.com
GNU General Public License v3.0
804 stars 265 forks source link

Nextcloud contacts: no surname #965

Open rubo77 opened 1 year ago

rubo77 commented 1 year ago

If I create a contact in nextcloud and sync it to my Samsung with davX⁵ there is only the first name shown.

tibbi commented 1 year ago

does it show in any other app? Arent you filling out the middle name instead of surname?

rubo77 commented 1 year ago

Yes, in the standard Samsung contact app on my S10+ it shows correct.

The problem seems, that the title of a contact is a free text field for whatever you want and the fields Name and surname are only filled, if you edit them by hand in "detaillierter Name"

michaelof commented 1 year ago

@rubo77 Hi, what you're describing is a generic issue with Nextcloud in combination with SimpleContacts. Nextcloud supports the full name concept, whatever you enter, in one field, detailed name only on demand. SimpleContacts simply doesn't, detailed name only. To use Nextcloud with SimpleContacts, what I'm doing happily for many years now, it's worth to look in detail how Nextcloud handles these names: Starting in Nextcloud (NC)

But another big BUT: Whenever you make whatever change to a contact in SC, previous fullname will be DESTROYED in NC by next synch!!! Simple reason is, as said in the beginning, that fullname is not in scope for SC, so just overwritten in case of cardDAV synch from SC to NC.

Knowing all this, there are several ways how to deal with it. My personal way, as I don't like NC's default to set initial or resetted fullname to "first last", is a (perl) script which sets fullname to what I want, server side, NC. FYI I prefer fullname to be set as "last, [prefixes] first". Reason behind is, that several contacts using devices, esp. cars via Bluetooth, also have their specialities how they're dealing with the fullname issue :) And I really prefer to find Dr. Dr. med Herbert Mustermann by starting with an M when driving...

rubo77 commented 1 year ago

Why not simply implement it the same way Samsung contacts handles the problems?