Bug 368762 - Only Jpg files are visible if importing them into a Subfolder of a Grouped folder [patch]
Summary: Only Jpg files are visible if importing them into a Subfolder of a Grouped fo...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemGroup (show other bugs)
Version: 5.1.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 19:48 UTC by tuxflo
Modified: 2016-11-09 18:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0
Sentry Crash Report:


Attachments
removeGrouping.patch (718 bytes, patch)
2016-09-29 20:36 UTC, Maik Qualmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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