Bug 499107 - Lost all tags after to add a new collection.
Summary: Lost all tags after to add a new collection.
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 8.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-24 21:03 UTC by fuerallesg
Modified: 2025-04-11 18:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fuerallesg 2025-01-24 21:03:09 UTC
SUMMARY
I added an additional collection. After adding, no album is shown at album view at the beginning. After some time the old and new one come back. However, in the old album only the first few entries have tags. All other images lost their tags. Even a restart was without success. I have had to use my backup to restore my tags.

STEPS TO REPRODUCE
Not yet happened again

OBSERVED RESULT
Lost >95% of my keywords.

EXPECTED RESULT
No effect on old keywords

SOFTWARE/OS VERSIONS
Windows: 11

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2025-01-25 07:03:44 UTC
The problem cannot be reproduced here.
I suspect that when you created the new collection you deleted your existing collection and added it again. In fact, the existing collection is then created as a new one with a new ID.
That explains why your existing collection disappeared and was rebuilt without the tags.
An existing collection can only be edited using the update function (round circle icon).

Maik
Comment 2 fuerallesg 2025-01-25 11:23:43 UTC
I know it is not reproducible. 

However, I did not delete an existing collection. I just added the new one. Otherwise, the old images shouldn't be in the albums again. 

Interestingly, some of the first pictures in one of the albums still had all tags. Only from picture ~200 onwards all tags were lost. This would also argue against replacing an existing collection.

I will try to test the collection add-on again to see if I can reproduce this problem.

Mik
Comment 3 caulier.gilles 2025-04-11 18:14:01 UTC
Hi,

The 8.7.0 pre-release Windows installer from today have been rebuilt from
scratch with Qt 6.8.3, KDE 6.12, OpenCV 4.11 + CUDA support, Exiv2 0.28.5, ExifTool 13.27, ffmpeg 7, all image codecs updated to last version (jxl, avif, heif, aom, etc.).

Please try with this version to see if your problem still reproducible...

https://files.kde.org/digikam/

Thanks in advance
Best regards

Gilles Caulier