Bug 294578

Summary: Problem when moving grouped pictures from one album to another
Product: [Applications] digikam Reporter: philippe.quaglia
Component: Albums-ItemGroupAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.7.0
Attachments:

Description philippe.quaglia 2012-02-21 19:20:54 UTC
Created attachment 68989 [details]
 


Version:           2.5.0
OS:                Linux

When moving a set of grouped pictures from one album to another, It seems that only the first picture is moved, and that the other grouped pictures stays in the original album. However, digikam seems to be lost, and does not display anymore the grouped pictures that were in the original folder.

 

Reproducible: Always

Steps to Reproduce:
Open an album containing some grouped pictures that are not expanded. Move them to another album. In the new album, you can now only see the first of the grouped pictures, but the other grouped pictures are no more visible in the original album

Actual Results:  
In the new album, you can now only see the first of the grouped pictures, but the other grouped pictures are no more visible in the original album

Expected Results:  
I would expect that when grouped pictures are move to another album, all the grouped pictures are moved, and may be visible in the new album.

Please see the attached screen captures: On the left, an an album containing 4 grouped pictures. When I drag it to the "testdestination" album and choose "move here", I get the result displayed in the right: the destination album has only one picture, and 3 picture have stayed in the original album, but are not displayed...
Comment 1 Marcel Wiesweg 2012-07-01 13:51:33 UTC
Git commit 250d2f4b78d5650d8be5b7c2d1802816f2d5a287 by Marcel Wiesweg.
Committed on 01/07/2012 at 15:50.
Pushed by mwiesweg into branch 'master'.

When copying/moving from within digikam, include all grouped images into the operation.

M  +2    -1    NEWS
M  +38   -1    digikam/database/dio.cpp
M  +13   -0    digikam/database/dio_p.h

http://commits.kde.org/digikam/250d2f4b78d5650d8be5b7c2d1802816f2d5a287