https://bugs.kde.org/show_bug.cgi?id=448593

--- Comment #19 from caulier.gil...@gmail.com ---
Hi,

As i can see in your code :

https://github.com/cathaysia/digikamflowplugin/blob/data_loading/src/flowplugin.cpp#L96
https://github.com/cathaysia/digikamflowplugin/blob/data_loading/src/picdialog.hpp#L32

Your CachedLoadThread inherit from ManagedLoadSaveThread. Use PreviewLoadThread
instead.

it will use the same cache in memory than digiKam core. It will run in a
separated thread/core.

To calculate the fast loading settings automatically, use
PreviewLoadThread::loadFast(). Don't forget to pass a valid size as argument,
not zero. 

I recommend also to host the PreviewLoadThread directly in dialog class, and
delete the instance in dialog destructor.

Best

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to