Bug 354745

Summary: Thumbnails not shown in album view after startup
Product: [Applications] digikam Reporter: Milan Knížek <knizek>
Component: Database-ThumbsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.14.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:

Description Milan Knížek 2015-11-02 17:52:07 UTC
When I start digiKam, it shows the last view (in my case a particular folder X in Album View), however, no thumbnails are displayed in the thumbnail area. To resolve the problem, I have to click on some other folder and then back on the folder X.

As far as I recall, the problem of non-displayed thumbnails after startup exists for a longer time, may be it has never worked properly.

Reproducible: Always

Steps to Reproduce:
1. Start digiKam, choose Album View, click on a folder of your choice. Thumbnails are displayed as expected.
2. Quit digiKam.
3. Start digiKam. It shows the same view like in step 1, however no thumbnails are displayed.

Actual Results:  
Thumbnails are missing.

Expected Results:  
Thumbnails should be displayed.
Comment 1 caulier.gilles 2015-11-02 18:03:11 UTC
Not reproducible here with 4.14.0...

Thumbnails are stored in a dedicated sqlite DB file. Perhaps DB file is corrupted. Try to rename DB file and try again.

Gilles Caulier
Comment 2 Milan Knížek 2015-11-02 18:15:37 UTC
I removed the thumbnails db and started digiKam - the behaviour is the same as described in the OP, with the difference that digiKam has to build thumbnails, which takes more time obviously.

On the CLI, it does not say much apart from the last line:

$ /usr/bin/digikam
** (process:22987): WARNING **: [lensfun] /home/user/.local/share/lensfun/compact-panasonic-lx5 (lensfun 0.2.6-1, hugin 2012.0.0-2).xml:34:47: <field_of_view> tag is deprecated.  Use <real-focal-length> instead
QFSFileEngine::open: No file name specified

No more messages are displayed during further work with digiKam.
Comment 3 Milan Knížek 2015-11-29 14:16:17 UTC
Another workaround: it helps to right-click on the highlighted folder (album) name as if I wanted to rename it - the thumbnails of the album suddenly appear.
Comment 4 caulier.gilles 2015-11-30 05:47:33 UTC
To have all debug trace on the console, follow instruction on this page :

https://www.digikam.org/contrib
Comment 5 Milan Knížek 2016-01-09 08:24:05 UTC
I tried running digikam in Ubuntu 15.10 (Unity, w/o KDE unless pulled in as a digikam dependency) and it indeed works there just fine.

At the moment, I am not able to recompile KDE stuff on Arch Linux to support debug trace, but I will try a bit harder again and get back then.
Comment 6 Milan Knížek 2016-01-09 15:19:19 UTC
I eventually installed ver. 5 beta 2 rc and there the bug with "no images" does not exhibit. Assuming that final release is not so far, I propose to close as "won't fix".
Comment 7 caulier.gilles 2016-01-09 16:42:32 UTC
5.0.0 release plan :

https://www.digikam.org/about/releaseplan