Bug 505631

Summary: No responding when loading large image files
Product: [Applications] digikam Reporter: connor <connor.yang69>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.6.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: description no responding
freeze debug log
freeze no responding and digikam stopped scan image file.
preview font file.
Not responding
log from startup digikam to end
highlighted cursor loading all images
image folder size

Description connor 2025-06-15 15:14:29 UTC
Created attachment 182290 [details]
description no responding

When I just opened digikam, a lot of pictures needed to be read automatically, and then it kept No responding. I think this experience is not good. I hope it can be fixed. Thank you !
Comment 1 Maik Qualmann 2025-06-15 16:48:39 UTC
Please describe in more detail what you did. digiKam doesn't display a wait cursor when loading images or thumbnails. Create a DebugView log of the process, as described here for Windows:

https://www.digikam.org/contribute/#windows-host

Maik
Comment 2 connor 2025-06-16 01:48:20 UTC
Created attachment 182295 [details]
freeze debug log
Comment 3 connor 2025-06-16 01:50:48 UTC
Please check the freeze debug log. Digikam is loading files, but the GUI is unresponsive and I can't click any function menus,just only wait until all the files are loaded.
Comment 4 connor 2025-06-16 02:05:59 UTC
Created attachment 182297 [details]
freeze no responding and digikam stopped scan image file.

freeze no responding and digikam stopped scanning image files.
Comment 5 Maik Qualmann 2025-06-16 06:23:07 UTC
Is the log complete, and are there no further messages afterward?
If so, it would be stuck in ExifTool.

Since your images don't contain any metadata, a scan attempt is also attempted with ExifTool in addition to Exiv2. But there is no metadata here either.

You are using your own version of ExifTool located at "C:/Program Files/exiftool/exiftool.exe." Please configure our ExifTool version in the digiKam program path.

Otherwise, if the log is complete, please provide the file "H:\ABC.digikam\Cc\10000-7\Cc_RefhdisavTrial-Variation.png."

Maik
Comment 6 connor 2025-06-16 07:20:40 UTC
Created attachment 182300 [details]
preview font file.
Comment 7 connor 2025-06-16 07:37:43 UTC
The further log is repeated by adding and adding image files. Every alphabet has 85000+ preview font image files built in python script.Yes. There's not any metadata.

I removed my own Exiftools from "C:/Program Files/exiftool/exiftool.exe.

However, the GUI has been in an unresponsive state unless all image files are loaded.
Comment 8 connor 2025-06-16 07:46:31 UTC
Log is repeating and adding new items: 

[11820] digikam.database: Finishing took 1429 ms
[11820] digikam.metaengine: Check ExifTool availability: false
[11820] digikam.metaengine: ExifTool is not available to load metadata...
[11820] digikam.metaengine: Loading metadata with "Exiv2" backend from "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-BoldItalic-v3.010PS1.000hotconv16.6.54makeotf.lib2.5.65590.png"
[11820] digikam.dimg: "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-BoldItalic-v3.010PS1.000hotconv16.6.54makeotf.lib2.5.65590.png" : "PNG" file identified
[11820] digikam.dimg.png: Opening file "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-BoldItalic-v3.010PS1.000hotconv16.6.54makeotf.lib2.5.65590.png"
[11820] digikam.database: Adding new item "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-BoldItalic-v3.010PS1.000hotconv16.6.54makeotf.lib2.5.65590.png"
[11820] digikam.database: Scanning took 4 ms
[11820] digikam.database: Finishing took 2299 ms
[11820] digikam.metaengine: Check ExifTool availability: false
[11820] digikam.metaengine: ExifTool is not available to load metadata...
[11820] digikam.metaengine: Loading metadata with "Exiv2" backend from "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold-Italic.png"
[11820] digikam.dimg: "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold-Italic.png" : "PNG" file identified
[11820] digikam.dimg.png: Opening file "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold-Italic.png"
[11820] digikam.database: Adding new item "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold-Italic.png"
[11820] digikam.database: Scanning took 4 ms
[11820] digikam.database: Finishing took 1928 ms
[11820] digikam.metaengine: Check ExifTool availability: false
[11820] digikam.metaengine: ExifTool is not available to load metadata...
[11820] digikam.metaengine: Loading metadata with "Exiv2" backend from "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold.png"
[11820] digikam.dimg: "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold.png" : "PNG" file identified
[11820] digikam.dimg.png: Opening file "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold.png"
[11820] digikam.database: Adding new item "H:/ABC.digikam/Jj/10000-7/Jj_Poppins-ExtraBold-ExtraBold.png"
[11820] digikam.database: Scanning took 4 ms
[11820] digikam.database: Finishing took 4879 ms
[11820] digikam.metaengine: Check ExifTool availability: false
[11820] digikam.metaengine: ExifTool is not available to load metadata...
Comment 9 connor 2025-06-16 08:18:03 UTC
Created attachment 182301 [details]
Not responding

Still waiting finished adding new items. 

[11820] digikam.database: Adding new item "H:/ABC.digikam/Jj/10000-7/Jj_Pyrabet.png"
[11820] digikam.database: Scanning took 5 ms
[11820] digikam.database: Finishing took 2467 ms
[11820] digikam.metaengine: Check ExifTool availability: false
[11820] digikam.metaengine: ExifTool is not available to load metadata...
[11820] digikam.metaengine: Loading metadata with "Exiv2" backend from "H:/ABC.digikam/Jj/10000-7/Jj_PyriformTonesNF.png"
[11820] digikam.dimg: "H:/ABC.digikam/Jj/10000-7/Jj_PyriformTonesNF.png" : "PNG" file identified
[11820] digikam.dimg.png: Opening file "H:/ABC.digikam/Jj/10000-7/Jj_PyriformTonesNF.png"
[11820] digikam.database: Adding new item "H:/ABC.digikam/Jj/10000-7/Jj_PyriformTonesNF.png"
[11820] digikam.database: Scanning took 4 ms
Comment 10 connor 2025-06-17 13:24:53 UTC
Summary Report: During the process of adding new image files, the program became unresponsive, and during this period, all other functions were unavailable. It was not until all new images were added that the unresponsive state of the program was lifted and it could be used normally.
Comment 11 connor 2025-06-18 03:52:10 UTC
Created attachment 182343 [details]
log from startup digikam to end
Comment 12 connor 2025-06-18 03:52:43 UTC
Created attachment 182344 [details]
highlighted cursor loading all images
Comment 13 connor 2025-06-18 03:53:08 UTC
After finished adding new items, digikam still not responding .... why ? I guess the digikam is loading all images. The highlighted cursor is on the top level folder.  How many images ? 1.76 million . 22.62 GB. The user can't switch highlight cursor to other folder. If don't load all images when highlighted cursor, the issue will be solved.
Comment 14 connor 2025-06-18 03:53:50 UTC
Created attachment 182345 [details]
image folder size