Bug 497476

Summary: Create Tag from Address Book not functioning in Tags Manager on macOS
Product: [Applications] digikam Reporter: plus-unvaried-hut
Component: Tags-AddressBookAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 8.5.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.6.0
Sentry Crash Report:

Description plus-unvaried-hut 2024-12-14 22:59:35 UTC
SUMMARY
Create Tag from Address Book not functioning in Tags Manager on macOS

STEPS TO REPRODUCE
1. Open digiKam on macOS
2. Navigate to the Tags Manager window
3. Attempt to use the "Create Tag from Address Book" function

OBSERVED RESULT
Nothing happens when selecting the "Create Tag from Address Book" option

EXPECTED RESULT
The function should import contacts from the macOS Address Book or from a vCards and create corresponding tags in digiKam

SOFTWARE/OS VERSIONS
macOS: Sequoia 15.1.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2 (built against 6.7.2)

ADDITIONAL INFORMATION
The "Create Tag from Address Book" function appears to be designed for KAddressBook, which is part of the KDE suite and not natively available on macOS. This may be causing the functionality to fail on macOS systems. The feature might require additional configuration or dependencies to work with the macOS native Address Book application or import from vCard format.
Comment 1 Maik Qualmann 2024-12-15 06:03:35 UTC
Well, KAddressBook is also not available on many Linux versions and therefore also not the option to add a tag from the address book.
This KAddressBook thing only works on a KDE Plasma desktop.
At the moment I cannot say whether KAddressBook is theoretically available on macOS.

Maik
Comment 2 caulier.gilles 2024-12-19 04:23:48 UTC
Git commit b342fd8e7f0dda2253cb2d946bb436d7de22fd2d by Gilles Caulier.
Committed on 19/12/2024 at 04:21.
Pushed by cgilles into branch 'master'.

Implement create tags from address book in Tags Manager.
Only provide this option if adress book support option is enabled at compilation time (typicaly only with Linux/KDE target).
FIXED-IN: 8.6.0

M  +1    -1    NEWS
M  +27   -5    core/libs/tags/manager/tagsmanager.cpp
M  +1    -1    core/libs/tags/widgets/tagfolderview.h

https://invent.kde.org/graphics/digikam/-/commit/b342fd8e7f0dda2253cb2d946bb436d7de22fd2d