[Digikam-devel] [digikam] [Bug 323112] New: Preview fails when importing images: digikam uses a wrong path
Stefano Ferri
ferriste at gmail.com
Fri Aug 2 16:42:35 BST 2013
https://bugs.kde.org/show_bug.cgi?id=323112
Bug ID: 323112
Summary: Preview fails when importing images: digikam uses a
wrong path
Classification: Unclassified
Product: digikam
Version: 3.2.0
Platform: Kubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Import
Assignee: digikam-devel at kde.org
Reporter: ferriste at gmail.com
In thumbnails view, when I'm importing images from my camera (Canon Powershot
A710 IS) and I click on an image to activate the preview (or, that is the same,
I click on the proper button in the toolbar) Digikam says it cannot load the
image.
The problem seems to be a wrong path: Digikam correctly retrieves the
thumbnails but when needs to load a bigger preview it uses a wrong path. Here
there is an example of output message if Digikam is launched from a shell:
digikam(24732)/digikam (core) Digikam::PreviewLoadingTask::execute: Cannot
extract preview for "/store_00010001/DCIM/IMG_7278.JPG"
No location could be retrieved for url
KUrl("file:///store_00010001/DCIM/IMG_7278.JPG")
The correct path should be, instead,
file:///store_00010001/DCIM/100CANON/IMG_7278.JPG . In fact, my camera stores
photos in subfolders of a parent folder DCIM (located in the root of the SD
card), and these subfolders are named 100CANON, 101 CANON, and so on. Digikam
doesn't use the complete path.
Reproducible: Always
Steps to Reproduce:
1. Connect a camera and go to the import panel
2. Switch from thumbnails view to preview mode by clicking on a thumbnail
Actual Results:
Digikam says it cannot load the image
Expected Results:
Digikam should load a preview
I think that, for reproducing this bug, you need a camera that stores files in
a structured tree. For example, mine (Canon Powershot A 710 IS) stores them in
a structure DCIM/100CANON/. Digikam misses to go through the whole path.
This problem is only related to the import mode: preview in album view works.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list