Bug 375471

Summary: Delete Selected Albums Dialogue Contains Duplicate Paths
Product: [Applications] digikam Reporter: hardy.public
Component: Albums-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.5.0
Attachments: Image of About To Delete Dialogue.

Description hardy.public 2017-01-23 21:02:24 UTC
Created attachment 103607 [details]
Image of About To Delete Dialogue.

If I right click on an album with subalbums, the "About to delete" dialogue column "Path" contains duplicate entries.

For example, if I right-click on  TopAlbum, I see the following:

Thumb Path
==================
      TopAlbum/Sub1
      TopAlbum/Sub2
      TopAlbum/Sub2  <- Duplicate
      TopAlbum/Sub3

Also the total number of albums selected is therefore incorrect.

See attachment.
Comment 1 Maik Qualmann 2017-01-23 21:42:14 UTC
Git commit 2f011d243017c270012b82192d062246336cfad5 by Maik Qualmann.
Committed on 23/01/2017 at 21:41.
Pushed by mqualmann into branch 'master'.

fix double selected album paths for delete
FIXED-IN: 5.5.0

M  +2    -1    NEWS
M  +5    -1    libs/album/albummodificationhelper.cpp

https://commits.kde.org/digikam/2f011d243017c270012b82192d062246336cfad5