Bug 372482

Summary: Empty album view during thumbnails re-creation
Product: [Applications] digikam Reporter: Stefano <rs4000>
Component: Maintenance-ThumbsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0

Description Stefano 2016-11-14 19:53:25 UTC
During the thumbnail re-creation job launched from maintenance, if you navigate the album the thumbnails are not loaded, resulting in empty view (also if the album is not involved in the re-creation)
Comment 1 caulier.gilles 2016-11-14 21:33:20 UTC
The thumbnails database is certainly locked while maintenance tool...

Gilles Caulier
Comment 2 Stefano 2016-11-17 07:22:53 UTC
Uhm, a background operation that makes the app unusable is a bit odd to me. Being the thumbs container a database, I don't see the point in locking it, it can be read and written at the same time by definition and a conflict on the same record can be handled by the maintenance job itself.
Comment 3 Maik Qualmann 2017-08-17 18:21:02 UTC
Git commit 46ef057355a15ec10984569565cf02ac3786305f by Maik Qualmann.
Committed on 16/08/2017 at 17:09.
Pushed by mqualmann into branch 'master'.

use new QThreadPool for ActionThreadBase to not block digiKam
FIXED-IN: 5.7.0

M  +4    -8    libs/threads/actionthreadbase.cpp

https://commits.kde.org/digikam/46ef057355a15ec10984569565cf02ac3786305f