[Not sure if actual bug] Different ways of exporting contacts create different files

REPRODUCIBILITY: 100%
OS VERSION: between 4.x and 5.0.0.67
HARDWARE: XA2, XA2 Ultra, X10 II
UI LANGUAGE: English UK
REGRESSION: no

DESCRIPTION:

Inconsistency in address book export mechanisms, leading to much confusion.

PRECONDITIONS:

Addresses in address book.

STEPS TO REPRODUCE:

  1. Open People app
  2. Select All contacts
  3. Share => Email
  4. Download file

or

  1. Open terminal
  2. issue devel-su -p vcardconverter --export contacts.vcf
  3. Download file

EXPECTED RESULT:

Both versions are the same.

ACTUAL RESULT:

The files differ significantly.

Here is one entry from the vcardconverter exported .vcf file:

BEGIN:VCARD
VERSION:3.0
REV:2025-06-05T20:44:58Z
FN:Firstname Lastname
EMAIL;TYPE=HOME:FirstnameLastname@yahoo.com
X-QTPROJECT-EXTENDED-DETAIL:etag;[\n    "\\"5f116b0fcbb536998356ef7afef2ea53
 \\""\n]\n
X-QTPROJECT-EXTENDED-DETAIL:unsupportedProperties;[\n    [\n        "X-EVOLU
 TION-FILE-AS:Firstname Lastname"\n    ]\n]\n
UID:{807d0981-c32d-45a7-9912-30fa1d9df0be}
N:Firstname Lastname;;;;
TEL;TYPE=CELL,VOICE:+nnnnnnnnnnnn
END:VCARD

And here is the same entry exported through the People app and email:

BEGIN:VCARD
VERSION:2.1
REV:2025-02-08T17:07:19Z
FN:Firstname Lastname
EMAIL;ENCODING=QUOTED-PRINTABLE;HOME:FirstnameLastname=40yahoo.com
X-QTPROJECT-EXTENDED-DETAIL;ENCODING=QUOTED-PRINTABLE:etag;=5B=0A    =22=5C=
=2295f9fd50f937faf508e7320fb6e33fb6=5C=22=22=0A=5D=0A
X-QTPROJECT-EXTENDED-DETAIL;ENCODING=QUOTED-PRINTABLE:unsupportedProperties=
;=5B=0A    =5B=0A        =22X-EVOLUTION-FILE-AS:Firstname Lastname=22=0A    =5D=0A=
=5D=0A
N:Firstname Lastname;;;;
TEL;CELL;VOICE:+nnnnnnnnnnnn
END:VCARD

AFAICS all 500 contacts in both files differ in the same way.

My CardDAV server only accepted the VERSION:3.0 file.
I previously used a different server software and I have a nagging suspicion that using the 2.1 version had something to do with seeing multiple identical entries in another client app.

3 Likes