https://bugs.kde.org/show_bug.cgi?id=501331
Bug ID: 501331 Summary: Syncing Google Contacts with kAddressbook / Kontact results in phone number and email address label changes Classification: Applications Product: kaddressbook Version: 6.3.2 Platform: Manjaro OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdepim-b...@kde.org Reporter: qrf4c5...@mozmail.com Target Milestone: --- Created attachment 179282 --> https://bugs.kde.org/attachment.cgi?id=179282&action=edit Screenshots showing label changes for kAddressbook created contact. Syncing a Google account addressbook with kAddressbook results in phone number and email address labels being changes. This bug goes back to at least 2023. I have previously reported it on two occasions: https://bugs.kde.org/show_bug.cgi?id=487889 https://bugs.kde.org/show_bug.cgi?id=475649 The labels affected are those used to classify phone numbers and email addresses such as 'Mobile', 'Home', 'Work', 'Other', etc. Usually but not always they are changed when the account is synced from kAddressbook to Google but sometimes changes occur immediately on import. Changes also occur within kAddressbook with newly contacts before they are synced to Google. It would appear that kAddressbook initiates the changes. Depending on whether a new contact is created within kAddressbook or through the Google Contacts web interface directly, changes are either uni-directional or bi-directional. This results in labels that are mismatched in addition to being wrong. To clearly illustrate this problem I created a new Google Groupware account in kAddressbook using a new Google account. I then created two test contacts, one through the Google Contacts web interface and one from within kAddressbook and proceeded to sync them several times. I took a screenshot of each contact as I created it and a screenshot of the contact at both the kAddressbook and Google Contacts ends after each sync. The attached images, "GoogleCreatedTestContact.png" and "KontactCreatedTestKontact.png", show these screenshots in sequence for each of the test cases along with the label changes described above. This only seems to happen with Google Contact addressbooks. I have not been able to reproduce it in other addressbooks. STEPS TO REPRODUCE FOR "TEST KONTACT" created in kAddressbook 1. Create a new contact in a Google Contact address book within kAddressbook having phone numbers labelled 'Mobile', 'Home', and 'Work' and an email address labelled 'Home' and save it. 2. Observe that immediately upon save the phone number labelled 'Mobile' retains that label but within 5 seconds that label will change to 'Home'. 3. Sync the address book with Google Contacts and from within the Google Contacts web interface observe that notwithstanding the changes made in 2., the new contact shows labels for all phone number labels as they were created. i.e. 'Mobile' is shown as 'Mobile', etc. 3. In kAddressbook perform another sync and observe that the ALL labels on all phone numbers and email get changed. 'Work' to 'Home', 'Home' to 'Work', etc. 4. Perform another sync and from Google Contacts web interface observe that all labels now reflect the same values as those shown in kAddressbook in step 3. 5. Perform another sync and now back in kAddressbook observe that all labels have been changed and are different to those shown on Google in Step 4. 6. Perform another sync and observe that all labels on Google get changed and now match those in kAddressbook Step 5. 7. Perform yet another sync and observe that now all kAddressbook labels match those shown on Google. 8. All subsequent sync result in labels matching. NB: matching does not mean they're correct. STEPS TO REPRODUCE FOR "TEST CONTACT" created in Google Contacts. 1. Create a new contact on Google Contacts through the web interface having phone numbers labelled 'Mobile', 'Home', and 'Work' and an email address labelled 'Home' and save it. 2. In kAddressbook perform a sync and observe that ALL phone number and email labels the new contact get changed. 'Home' to 'Work', 'Work' to 'Home', 'Mobile' to 'Home', etc. and do not match those on Google. 3. Perform another sync and in Google Contacts observe that all labels get changed and now match those shown in kAddressbook Step 2. 4. Perform another sync and in kAddressbook observe that all labels get changed and now do not match those shown in Google. OBSERVED RESULT When syncing between kAddressbook and Google, labels are changed in the following way: - when both kAddressbook and Google labels match, kAddressbook labels are changed to mismatch on the next sync. - when kAddressbook and Google labels do NOT match, Google labels are changed to match kAddressbook on next sync. EXPECTED RESULT That all labels stay the same as they were created or edited to and match each other on Google and kAddressbook at all times. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Kernel Version: 6.12.17-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-3210M CPU @ 2.50GHz Memory: 15.4 GiB of RAM Graphics Processor: Intel® HD Graphics 4000 Manufacturer: LENOVO Product Name: 2324LW5 System Version: ThinkPad X230 ADDITIONAL INFORMATION This mismapping also appears to affect reminder times for Google Tasks. Upon syncing, correct times will be shown in Google Tasks e.g. 12:30pm but will only show as 'All Day' within Kontact. -- You are receiving this mail because: You are watching all bug changes.