Bug 370427 - Reset To Default Button Causes Duplication of List Items When Configuring Metadata
Summary: Reset To Default Button Causes Duplication of List Items When Configuring Met...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Metadata (show other bugs)
Version: 5.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 20:12 UTC by hardy.public
Modified: 2017-08-09 20:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.3.0


Attachments
Image of Problem (47.17 KB, image/png)
2016-10-10 20:17 UTC, hardy.public
Details

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