Bug 369626 - "Subjects" metadata fields cannot be edited once other metadata are filled in and stored
Summary: "Subjects" metadata fields cannot be edited once other metadata are filled in...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Template (show other bugs)
Version: 5.2.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-02 06:18 UTC by Barbara Scheffner
Modified: 2016-10-03 10:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barbara Scheffner 2016-10-02 06:18:54 UTC
If you open Settings/Configure digiKam/Templates you get an empty template and you can  edit the fields in all four tabs. But if you leave the fields in the "Subjects" tab unedited and save the template to the template list you are not longer able to edit the "Subjects" fields. 

Reproducible: Always

Steps to Reproduce:
1. Open Settings/Configure digiKam/Templates
2. Fill in a field, e.g. Author Names
3. Fill in the "Template Title" field and click "Add"

Actual Results:  
If you go now to the "Subjects" tab you will find everything dimmed/greyed out, i.e. not accessible.

Expected Results:  
The "Subjects" data should still be editable.

The same happens of course if you have already a list of templates and among them some without "Subjects" data and you want to add those data later. But also when you have an image without "Subjects" data selected and access the Tempplate Manager by clicking the little edit button beside the "Template:" field in the "Information" tab of the "Caption" section of the Right Sidebar the "Subjects" tab will be dimmed provided the image contains already data in one of the other tabs.
Once there are some "Subjects" data stored with the template everything works as one would expect, i.e. you are able to edit these data.
Comment 1 Maik Qualmann 2016-10-03 10:26:35 UTC
Git commit bf8c5aba22d047872dbd193f325c5703f39bc3dc by Maik Qualmann.
Committed on 03/10/2016 at 10:25.
Pushed by mqualmann into branch 'master'.

fix enabled state from SubjectWidget
FIXED-IN: 5.3.0

M  +2    -1    NEWS
M  +10   -3    libs/widgets/metadata/subjectwidget.cpp
M  +1    -0    utilities/metadataedit/iptc/iptcsubjects.cpp
M  +1    -0    utilities/metadataedit/xmp/xmpsubjects.cpp

http://commits.kde.org/digikam/bf8c5aba22d047872dbd193f325c5703f39bc3dc