Bug 505019

Summary: Thumbnails not displayed
Product: [Applications] digikam Reporter: eric.charbonnier69
Component: Albums-TableViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
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 In: 8.7.0
Sentry Crash Report:
Attachments: screenshot
debug file

Description eric.charbonnier69 2025-05-30 14:57:38 UTC
The Thumbnails are not displayed

Windows 11

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows:  11


ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2025-05-30 15:15:18 UTC
Run digiKam in DebugView as explained here :

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

And report the trace in this file.
Comment 2 Maik Qualmann 2025-05-30 15:54:09 UTC
The table view allows you to configure which properties are displayed. You may have removed the thumbnail column. You can add it back by right-clicking on the table header.

Maik
Comment 3 eric.charbonnier69 2025-05-30 16:15:44 UTC
Created attachment 181903 [details]
screenshot

This is the view
Comment 4 eric.charbonnier69 2025-05-30 16:43:09 UTC
On the debug I have a lot of message "Database is locked"
Comment 5 Maik Qualmann 2025-05-30 19:11:25 UTC
We need the DebugView log.

Maik
Comment 6 eric.charbonnier69 2025-06-01 15:46:31 UTC
The file is bigger than 4 Mb I can not send it :(
Comment 7 caulier.gilles 2025-06-01 15:48:59 UTC
Use Cloud webservice as Google Drive for ex...
Comment 8 eric.charbonnier69 2025-06-01 16:08:37 UTC
Created attachment 181957 [details]
debug file

Here is th elog file from debugview tool
Comment 9 Maik Qualmann 2025-06-01 17:05:35 UTC
The excerpt from the log file is too small, send me the 4MB file by email.

Maik
Comment 10 eric.charbonnier69 2025-06-01 17:19:50 UTC
The first time, I did not see the "Clear Button on Debug Viex.
I started again, with Clear just before starting Digikam.
I send you  another one, where I open, and close digikam
Comment 11 Maik Qualmann 2025-06-01 18:22:19 UTC
Thanks for the log file. Your thumbnail database is corrupted, and it can't really be repaired. Just delete your "/leneuf/home/Drive/PhotoScan/thumbnails-digikam.db" file; it will be rebuilt on the fly. Also check the hard drive where it's stored. I've never personally encountered a corrupted SQL database with this error message: "database disk image is malformed."

Maik
Comment 12 eric.charbonnier69 2025-06-01 18:33:51 UTC
(In reply to Maik Qualmann from comment #11)
> Thanks for the log file. Your thumbnail database is corrupted, and it can't
> really be repaired. Just delete your
> "/leneuf/home/Drive/PhotoScan/thumbnails-digikam.db" file; it will be
> rebuilt on the fly. Also check the hard drive where it's stored. I've never
> personally encountered a corrupted SQL database with this error message:
> "database disk image is malformed."
> 
> Maik

Thanks
For your info , the database is on synology serveur and I want to access to it from different locations and computer 
Br
Comment 13 Maik Qualmann 2025-06-01 18:55:26 UTC
Using SQLite over a network drive isn't a good idea. WAL mode shouldn't be enabled either. Even concurrent read access can corrupt the database on the network drive. You should consider migrating to MySQL. I'm closing this bug now.

Maik
Comment 14 eric.charbonnier69 2025-06-01 18:56:24 UTC
Ok 
Thanks for you support