KAddressBook and Gmail Contacts

Hello!

I would like to know if there is a possibility for the developers to add the feature of Google Contacts to customize the categories.

Example:

Phone =
=> +55 9999-999 (Mobile)

But I would like to put:
=> +55 9999-999 (WhatsApp)

Email =
=> nononono@nonono.com (Business)

But I would like to put:
=> nononono@nonono.com (Fulano’s Secretary)

And so on…

I’ve used this feature since it first appeared. And I love the QT interface. However, I’ve been waiting for over ten years for a QT program that has the ability to read the customized content, but so far nothing. Would it be possible to implement this in KAddressBook?

:lady_beetle: Issue: Contact Editing Non-functional + Google Account Duplication in KAddressBook

A. :cross_mark: Cannot Edit Selected Contact

Summary

In the current KAddressBook source build, selecting a contact and attempting to edit it results in no UI response — the expected contact editor dialog does not appear.

Technical Findings

  • The codebase has no definition or invocation of editContact() or equivalent methods in MainWidget, MainWindow, or related classes.
  • No QAction, signal/slot, or context menu appears to be triggering any editing behavior.
  • There is no reference to ContactEditor, ItemEditJob, or Akonadi::ItemEditJob within the available source.
  • This suggests the editing logic is either missing, disabled, or not integrated in this version of the source.

Possible Causes

  • The editor module (e.g., ContactEditor or similar) may be excluded or missing from the build.
  • UI logic may be incomplete or lacks connections to an editing interface.
  • Contacts may be treated as read-only due to resource backend issues (e.g., LDAP, DAV, or remote Google).

Recommendations

  • Reintroduce or reconnect contact editing logic (ContactEditor, etc.) in the UI.
  • Ensure address books are not flagged read-only unless explicitly configured that way.
  • Audit UI interaction triggers (buttons, menu items) to verify they’re bound to editing actions.

B. :cyclone: Google Account Appears Duplicated in KAddressBook

Summary

When adding a Google account via either KAddressBook or KOrganizer, duplicate address book entries appear in KAddressBook.

Behavior

  • If a Google account is added from the Calendar (KOrganizer), it appears correctly.
  • If the same account is then added from KAddressBook (or vice versa), it creates a new, redundant Google address book resource.
  • The same Google contacts are then displayed multiple times.

Technical Observations

  • Google account integration uses the akonadi_google_resource.
  • There appears to be no deduplication mechanism to check if an account/resource already exists before creating a new one.
  • The problem seems related to the account setup workflow being duplicated between KOrganizer and KAddressBook, each triggering independent Akonadi resource creation.

Recommendations

  • Introduce a resource check before adding a new Google Groupware resource.
  • Consolidate Google account setup logic across KDE PIM apps.
  • If a Google resource is already registered with Akonadi, reuse or link to it instead of creating a new instance.

System Information

  • App: KAddressBook (from source)
  • Platform: Linux (likely KDE Plasma)
  • Akonadi backend in use
  • Google Groupware resource used for account integration

Please advise if these issues are known, or if there is an intended workflow to avoid duplication and restore editing functionality.

Hello!

Actually, my problem is different, and I’ll try to explain it better.

Please see the items highlighted in red (1, 2, and 3):

  • In the original “Google Contacts” (2), I can see that the custom field was “WhatsApp”.
  • The Flokk application (1) loads this custom field normally.
  • However, Kontact (3) does not. In Kontact, the fields are standardized, making it impossible for me to personalize them with the word “WhatsApp”.

Now, look at field (4).

  • It also has a customization: “FALE CONOSCO” (TALK TO US).
  • This is impossible in Kontact, but it works fine in Flokk and Google Contacts.

Consider fields (5 and 6).

  • I can customize these fields in Flokk. However, in the current version of “Google Contacts,” this feature is disabled, meaning I cannot change them because they are hidden (7 and 8).

IN SUMMARY:
Kontact is unable to read or edit these custom fields. They simply don’t exist in Kontact.

SOLUTION:
Please add the ability to handle custom fields according to the ORIGINAL Google Contacts, instead of having static and unchangeable fields.