Bug 370427

Summary: Reset To Default Button Causes Duplication of List Items When Configuring Metadata
Product: [Applications] digikam Reporter: hardy.public
Component: Setup-MetadataAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.3.0
Attachments: Image of Problem

Description hardy.public 2016-10-10 20:12:34 UTC
When configuring metadata namespaces, clicking the "Reset To Default" button duplicates the entire, existing list of namespaces. For example, there are 2 instances of Xmp.dc.description.

Clicking OK then returning to the dialogue, retains the duplicated items.
Exiting digiKam and returning to the dialogue resets the list to normal.

Reproducible: Always

Steps to Reproduce:
1. Go to Settings > Configure digiKam... > Metadata > Advanced
2. Click "Reset To Default".

Actual Results:  
There are 2 instances of the default namespaces.

Expected Results:  
If any namespaces have been disabled, I expect them all to be enabled.
Comment 1 hardy.public 2016-10-10 20:17:20 UTC
Created attachment 101515 [details]
Image of Problem
Comment 2 Maik Qualmann 2016-10-11 16:58:44 UTC
Git commit 33c42721d1cd08b5c8df68651a9fcaaa2393c8be by Maik Qualmann.
Committed on 11/10/2016 at 16:57.
Pushed by mqualmann into branch 'master'.

clear namespace entry lists
FIXED-IN: 5.3.0

M  +2    -1    NEWS
M  +2    -0    libs/dmetadata/dmetadatasettingscontainer.cpp

http://commits.kde.org/digikam/33c42721d1cd08b5c8df68651a9fcaaa2393c8be