Bug 372482 - Empty album view during thumbnails re-creation
Summary: Empty album view during thumbnails re-creation
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Thumbs (show other bugs)
Version: 5.3.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 19:53 UTC by Stefano
Modified: 2017-08-17 18:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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