Bug 374712 - Preview image does not work any more from thumbs view
Summary: Preview image does not work any more from thumbs view
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-07 20:05 UTC by Jens
Modified: 2017-01-22 11:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2017-01-07 20:05:04 UTC
In the current 4.4.0 appimage (64bit Linux, Ubuntu 16.04 amd64) since importing the last batch of images from my camera, I cannot enter preview mode (with one image enlarged and the rest as thumbnails at the top) any more.
When I try, simply nothing happens, except that the toolbar options are toggled respectively ("Vorschaubild" becomes active).

Restarting digikam fixes this usually, but then sometimes the menu and toolbars are gone.
Comment 1 Jens 2017-01-21 12:05:29 UTC
I just experienced this again with the current 5.4.0 appimage (Ubuntu 16.04) after fullscreen viewing + tagging (rating) a number of images. Repeatable.

I can rate about 10 images with the keyboard and then fullscreen view gets stuck at the current image, I cannot go to the next or previous image any more, when I exit the preview back to thumbnails, I cannot enter it any more (no image shown).

The console shows the following last messages:

digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>  QDateTime(2017-01-19 15:25:28.000 CET Qt::TimeSpec(LocalTime))
digikam.database: Scanning took 14 ms
digikam.database: Finishing took 4 ms
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
digikam.dimg: Cannot open workspace color profile "/tmp/.mount_GaIDR1/usr/share/digikam/profiles/srgb-d65.icm"
digikam.database: Starting scan!
Comment 2 caulier.gilles 2017-01-21 12:29:09 UTC
"/tmp/.mount_GaIDR1/usr/share/digikam/profiles/srgb-d65.icm"

...come from the content of AppImage ISO9660 file system mountem in temp directory by the kernel.

It's strange that ICC color profile is not found, because all data must be embeded in bundle.

What's "ls /tmp/__MOUNT__POINT__/usr/share/digikam/profiles/" give when digiKam is running ?

Gilles Caulier
Comment 3 Jens 2017-01-21 14:21:46 UTC
/tmp/.mount_AeuF4H/usr/share/digikam/profiles$ ls -la
insgesamt 3
drwxr-xr-x 1 root root 2048 Dez 18 14:26 .
drwxr-xr-x 1 root root 2048 Dez 18 14:26 ..
-rw-r--r-- 1 root root  580 Dez 18 14:26 compatibleWithAdobeRGB1998.icc
-rw-r--r-- 1 root root 1132 Dez 18 14:26 prophoto.icm
-rw-r--r-- 1 root root 6924 Dez 18 14:26 srgb-d65.icm
-rw-r--r-- 1 root root 2044 Dez 18 14:26 widegamut.icm

/tmp/.mount_AeuF4H/usr/share/digikam/profiles$ file *
compatibleWithAdobeRGB1998.icc: Microsoft ICM Color Profile
prophoto.icm:                   ICC Profile
srgb-d65.icm:                   Microsoft ICM Color Profile
widegamut.icm:                  Microsoft ICM Color Profile
Comment 4 caulier.gilles 2017-01-21 14:36:48 UTC
Well the ICC files are there are expected... So why files cannot be found by Color Management code in DK...

Please disable color management for IconView to confirm that problem is here.

Gilles Caulier
Comment 5 Jens 2017-01-22 10:54:56 UTC
Done. So far, no more crashes.

Also I'll continue using 5.5.0 appimage from now, to see if this bug is still there.