Bug 507524 - Feature Request - Import Structured Keyword List Text File
Summary: Feature Request - Import Structured Keyword List Text File
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (other bugs)
Version First Reported In: 8.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-26 20:05 UTC by jbrauher
Modified: 2025-08-03 09:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jbrauher 2025-07-26 20:05:52 UTC
***
This is a new feature request.  For someone coming from another DAM platform (Lightroom, Photo Mechanic, etc.) or using Digikam as their first DAM, it would be helpful to have the ability to import a structured hierarchical keyword list text file (.txt) into Digikam that would then create a keyword / tags tree automatically.  This would save time building a new structured keyword / tag tree within the tags editor.  Many other DAMs have this as a feature which would simplify tag creation in Digikam.  

It may be possible to do this import using the EXIFTool backend plugin.  

***
Comment 1 caulier.gilles 2025-07-26 20:15:23 UTC
Can you provide a sample a text file supported with other applications to see the data format used ?
Comment 2 Maik Qualmann 2025-07-26 20:55:08 UTC

*** This bug has been marked as a duplicate of bug 444966 ***
Comment 3 jbrauher 2025-07-27 15:43:35 UTC
This has been marked as a duplicate of another feature request (Bug 444966) which I saw once I posted.  However, the original request to import a structured keyword list has not been resolved (or Digikam cannot import a tabbed text file to created the keyword tag tree rather than manually build it within Digikam)?
Comment 4 caulier.gilles 2025-07-27 15:48:48 UTC
the story continue in bug 444966
Comment 5 Maik Qualmann 2025-07-27 18:06:33 UTC
Git commit 1eb1fbffb46ba60907a3bb0cf9ba7f1ec1d7808a by Maik Qualmann.
Committed on 27/07/2025 at 18:05.
Pushed by mqualmann into branch 'master'.

add function to export all tags to a file
This function is in progress; initially, only a digiKam-specific format
will be supported, with additional formats being considered later.
Related: bug 444966

M  +86   -0    core/libs/tags/manager/tagsmanager.cpp
M  +6    -0    core/libs/tags/manager/tagsmanager.h

https://invent.kde.org/graphics/digikam/-/commit/1eb1fbffb46ba60907a3bb0cf9ba7f1ec1d7808a
Comment 6 Maik Qualmann 2025-07-27 18:52:43 UTC
Git commit 3972b5cc2994a337a3c818c5f09d702119a448f3 by Maik Qualmann.
Committed on 27/07/2025 at 18:52.
Pushed by mqualmann into branch 'master'.

add function to import all tags from a file
This function is in progress; initially, only a digiKam-specific format
will be supported, with additional formats being considered later.
Related: bug 444966

M  +71   -2    core/libs/tags/manager/tagsmanager.cpp
M  +6    -0    core/libs/tags/manager/tagsmanager.h

https://invent.kde.org/graphics/digikam/-/commit/3972b5cc2994a337a3c818c5f09d702119a448f3
Comment 7 Maik Qualmann 2025-08-02 20:39:14 UTC
Git commit 32ca5c9842bfd93ed885b43391a022bd03083f31 by Maik Qualmann.
Committed on 02/08/2025 at 20:38.
Pushed by mqualmann into branch 'master'.

add import Controlled Vocabulary Keyword Catalogue files
Related: bug 444966

M  +44   -12   core/libs/tags/manager/tagsmanager.cpp

https://invent.kde.org/graphics/digikam/-/commit/32ca5c9842bfd93ed885b43391a022bd03083f31
Comment 8 Maik Qualmann 2025-08-03 05:45:32 UTC
Git commit f05f902b22d803b0be0caeae5b3dc79baeaa7ce5 by Maik Qualmann.
Committed on 03/08/2025 at 05:44.
Pushed by mqualmann into branch 'master'.

add export Controlled Vocabulary Keyword Catalogue files
Related: bug 444966
FIXED-IN: 8.8.0

M  +2    -2    NEWS
M  +34   -16   core/libs/tags/manager/tagsmanager.cpp

https://invent.kde.org/graphics/digikam/-/commit/f05f902b22d803b0be0caeae5b3dc79baeaa7ce5
Comment 9 Maik Qualmann 2025-08-03 09:15:02 UTC
Git commit 75879816da046d59169363ae205862024e6217e1 by Maik Qualmann.
Committed on 03/08/2025 at 09:13.
Pushed by mqualmann into branch 'master'.

add possibility to import/export tags to selected tag
Related: bug 444966

M  +52   -8    core/libs/tags/manager/tagsmanager.cpp

https://invent.kde.org/graphics/digikam/-/commit/75879816da046d59169363ae205862024e6217e1
Comment 10 Peter 2025-08-03 09:27:22 UTC
I've been waiting for this feature for a very long time. Thanks to the person who announced it and to the developers.
Comment 11 Peter 2025-08-03 09:31:49 UTC
It would also be nice to have:
At the end of the process, it would be good to have a window that informs the user about the success or failure of the process.