| Summary: | Reread metadata from image stalls when started from Tag Manager | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Steve Franks <stevef48> |
| Component: | Tags-Manager | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 7.7.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | 7.7.0 | |
| Sentry Crash Report: | |||
| Attachments: | Debugview Log | ||
|
Description
Steve Franks
2022-03-20 11:22:01 UTC
When you sync in Tags Manager, ALL your images will be reread, not just the ones you selected. With a correspondingly large collection, this can take some time until the percentage display moves. I can't find any error here. Your log also shows that digiKam is reading metadata. Maik The only problem in the log is Flash metadata that is returned as a string and is discarded when written to the database because integer is expected. Please create a log again with deactivated JPG logging. QT_LOGGING_RULES="digikam.*=true;digikam.dimg.jpeg=false" Maik Git commit 57ef36a123e18056f820664d1638b758a29fa6f8 by Maik Qualmann. Committed on 20/03/2022 at 13:55. Pushed by mqualmann into branch 'qt5-maintenance'. Xmp.exif.Flash has a struct type, get the mode number M +1 -1 core/libs/metadataengine/dmetadata/dmetadata_generic.cpp M +1 -1 core/libs/metadataengine/dmetadata/dmetadata_photo.cpp https://invent.kde.org/graphics/digikam/commit/57ef36a123e18056f820664d1638b758a29fa6f8 (In reply to Maik Qualmann from comment #1) > When you sync in Tags Manager, ALL your images will be reread, not just the > ones you selected. With a correspondingly large collection, this can take > some time until the percentage display moves. I can't find any error here. > Your log also shows that digiKam is reading metadata. > > Maik That explains it, thanks. It's odd that rereading metadata finds tags in files, that were there all the time, but not read when the images were first found by digikam. We already have a bug report on this problem on Windows. But we don't have an explanation yet. We suspect that the image files were locked by other programs, Explorer, AntiVirus... I'm closing here... Maik Another note, with the maintenance tool you can select individual albums to re-read the image metadata from them. Maik I set the QT_LOGGING_RULES as you suggested, it made a huge difference to the speed. It seems that everything in digikam ran faster. The latest log is here https://www.dropbox.com/s/z741xlqb0s0s7il/DELL-G3_220320_1615.zip?dl=0 Yes, logging makes digiKam slow on Windows. If you no longer need it, you should disable it. The log shows no particular problem, looks good. Maik (In reply to Maik Qualmann from comment #8) > Yes, logging makes digiKam slow on Windows. If you no longer need it, you > should disable it. The log shows no particular problem, looks good. > > Maik Is that done by deleting the QT_LOGGING_RULES variable, or should I change it to digikam=false? |