https://bugs.kde.org/show_bug.cgi?id=492335

--- Comment #11 from jshand2...@gmail.com ---
🔧 Developer Summary: Unable to Edit Selected Contact in KAddressBook
❖ Context
A user reported that editing a selected contact does not work in the current
version of KAddressBook provided in this codebase. The issue may involve either
missing or non-functional UI triggers for contact modification.

❖ Findings from Source Analysis
No editContact() Method Found

A recursive scan of the entire /src directory revealed no definition or call to
any editContact-like function in either MainWidget, MainWindow, or related
files.

There are also no slot bindings (e.g., slotEditContact, editRequested)
associated with UI actions.

Likely External or Modular Editor

It's probable that editing is handled via an external or modular component such
as ContactEditor or through Akonadi jobs (ItemEditJob, etc.), but this
component does not appear in the submitted archive.

Potential Causes for Disabled Editing

Read-only address book backends (e.g., DAV, LDAP) may block editing.

Missing or broken UI triggers for launching the editor.

Akonadi service misconfiguration may prevent edit operations from executing.

❖ Recommended Debugging Steps
Verify Address Book Properties

Ensure the relevant address book is writable and not marked read-only.

Inspect Akonadi Logs

Use akonadictl status and akonadiconsole to confirm if contact items can be
modified.

Trace UI Action Handlers

Identify where the contact list selection is handled and whether any QAction or
signal/slot is supposed to launch a contact editor.

Confirm Editor Integration

Look for the presence and connection of components like ContactEditorDialog,
Akonadi::ItemEditJob, or similar.

❖ Suggested Fix
If editing functionality is indeed missing from this branch or version:

Reintegrate or rebind editing triggers (e.g., via toolbar or context menu).

Ensure ContactEditor or equivalent class is invoked with the selected
Akonadi::Item.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to