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: [hidden email] Reporter: [hidden email] 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. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
https://bugs.kde.org/show_bug.cgi?id=323112
Teemu Rytilahti <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #1 from Teemu Rytilahti <[hidden email]> --- Can you try and see what gphoto2 -L gives to you? Are the paths correct there? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
Teemu Rytilahti <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 --- Comment #2 from Teemu Rytilahti <[hidden email]> --- Can confirm with Nexus7 and MTP. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
--- Comment #3 from Teemu Rytilahti <[hidden email]> --- The cause for this is that when you are using a MTP/PTP device the path in CamItemInfo is set to be the path inside your device. And when digikam tries to load a local file with that it of course doesn't work. Possible solutions: - Disable the preview mode completely for non-UMS devices. - Implement loading the file to a temporary file when being previewed and load it from there. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #4 from Gilles Caulier <[hidden email]> --- Teemu, I vote to disable preview with Gphoto camera in first. It's easy to do... If time permit, the temporary download can be done, but it's not a priority... There are more important bug to fix in first. Gilles Caulier -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
--- Comment #5 from Stefano Ferri <[hidden email]> --- (In reply to comment #1) > Can you try and see what gphoto2 -L gives to you? Are the paths correct > there? Yes, they are: $ gphoto2 -L There is no file in folder '/'. There is no file in folder '/store_00010001'. There is no file in folder '/store_00010001/DCIM'. There is no file in folder '/store_00010001/DCIM/100CANON'. There are 276 files in folder '/store_00010001/DCIM/101CANON'. #1 IMG_0514.JPG rd 3129 KB 3072x2304 image/jpeg [.......] #276 STA_0511.JPG rd 4938 KB 3072x2304 image/jpeg There is no file in folder '/store_00010001/MISC'. I'm sorry for this late reply, I've access to the mentioned camera only in some periods, especially holidays, since it is not mine (it's my father's camera). -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Preview fails when |Preview fails when |importing images: digikam |importing images because |uses a wrong path |digiKam uses a wrong path -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
Maik Qualmann <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #6 from Maik Qualmann <[hidden email]> --- Created attachment 89913 --> https://bugs.kde.org/attachment.cgi?id=89913&action=edit gphotopreview.patch This patch disables the preview at GPhoto driver and the context menu "Open With...". -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Preview fails when |Preview fails when |importing images because |importing images because |digiKam uses a wrong path |digiKam uses a wrong path | |with Gphoto2 camera [patch] -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Stefano Ferri
https://bugs.kde.org/show_bug.cgi?id=323112
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Version Fixed In| |4.6.0 Latest Commit| |http://commits.kde.org/digi | |kam/7b71987a7f401cf5f906e99 | |2382afb5157584630 Resolution|--- |FIXED --- Comment #7 from Gilles Caulier <[hidden email]> --- Git commit 7b71987a7f401cf5f906e992382afb5157584630 by Gilles Caulier. Committed on 10/12/2014 at 22:00. Pushed by cgilles into branch 'master'. apply patch #89913 from Maik Qualmann about to disable preview mode with Gphoto2 camera FIXED-IN: 4.6.0 M +6 -1 utilities/importui/main/importui.cpp M +1 -0 utilities/importui/main/importui.h M +5 -0 utilities/importui/views/importview.cpp M +2 -2 utilities/importui/widgets/importcontextmenu.cpp http://commits.kde.org/digikam/7b71987a7f401cf5f906e992382afb5157584630 -- You are receiving this mail because: You are the assignee for the bug. Make the world a better place. Donate to our year end fundraiser https://www.kde.org/fundraisers/yearend2014/ _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |