Bug 368762

Summary: Only Jpg files are visible if importing them into a Subfolder of a Grouped folder [patch]
Product: [Applications] digikam Reporter: tuxflo <flo.hennig>
Component: Albums-ItemGroupAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: metzpinguin
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Attachments: removeGrouping.patch

Description tuxflo 2016-09-13 19:48:53 UTC
I'm having some issues using Groups: I have some Raw and Jpg files in my "root" album called Pictures. The images there are grouped using "Select all" -> "Group by Type".
When I import some Files (again Raw and corresponding Jpg) to a subfolder of Pictures, only The Jpg files are shown in the digikam thumbnails view.

Expected result:
Raw and Jpg files are visible in digikam, Grouping should be possible.


Reproducible: Always

Steps to Reproduce:
1. Group raw and jpg files in root album using "Group by type" from the context menu
2. Import raw and jpg files to a subfolder of the root album
3.

Actual Results:  
Images are imported to filesystem but only the Jpg files are shown in digikam.

Expected Results:  
Raw and Jpg files are visible in digikam, Grouping should be possible independently from the root folder.

Normally my images are located on a NFS network share but for reproducing I used a Collection on my local harddisk.
Comment 1 Maik Qualmann 2016-09-29 20:36:08 UTC
Created attachment 101347 [details]
removeGrouping.patch

We copy the image informations from the DB for new identical images. I vote that we remove the grouping information for copied or identical new images.

Maik
Comment 2 Maik Qualmann 2016-11-09 18:35:13 UTC
I see this patch at the moment as best solution. Also for the Bug 307332.

Maik
Comment 3 Maik Qualmann 2016-11-09 18:45:31 UTC
Git commit 8ae20d946cfd5bec8d0f41932d8d9b7858e32512 by Maik Qualmann.
Committed on 09/11/2016 at 18:39.
Pushed by mqualmann into branch 'master'.

apply patch #101347 to remove grouping for copied or identical images
Related: bug 307332
FIXED-IN: 5.4.0

M  +3    -1    NEWS
M  +3    -0    libs/database/item/imagescanner.cpp

http://commits.kde.org/digikam/8ae20d946cfd5bec8d0f41932d8d9b7858e32512