Bug 371072

Summary: Edit Advanced Search does not show selected labels
Product: [Applications] digikam Reporter: Erik Herlé <erik.herle+kde>
Component: Searches-AdvancedAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.3.0

Description Erik Herlé 2016-10-18 12:19:07 UTC
When I want to edit a saved search, I am not able to see the labels that I have selected to include in my search. E.g. I created a search to display all photos with a Rejected label. When I open the edit window for this search, you cannot see whether the Rejected label is selected or not (although it is active). This makes it very hard to edit my Saved Searches and customize them to my workflow.

Reproducible: Always

Steps to Reproduce:
1.Save a search
2.Edit the search

Actual Results:  
See details

Expected Results:  
Show which labels (None, Rejected, Pending, Accepted) are selected or deselected of a saved search.
Comment 1 Erik Herlé 2016-10-18 13:09:48 UTC
Bug happens in both Windows 7 as well as Windows 10.
Comment 2 Maik Qualmann 2016-10-18 17:58:56 UTC
Git commit 9b27579a168fb1cf24ce4f601adcd05e96a6d6c6 by Maik Qualmann.
Committed on 18/10/2016 at 17:57.
Pushed by mqualmann into branch 'master'.

fix none selected labels in advanced search when open to editing
FIXED-IN: 5.3.0

M  +2    -1    NEWS
M  +1    -1    libs/database/item/imagequerybuilder.cpp
M  +3    -3    utilities/searchwindow/searchfields.cpp

http://commits.kde.org/digikam/9b27579a168fb1cf24ce4f601adcd05e96a6d6c6
Comment 3 Maik Qualmann 2016-10-18 18:04:29 UTC
Note: In digiKam-5.3.0 must the search edited again so that it can be saved correctly.

Maik
Comment 4 Erik Herlé 2016-10-18 19:06:19 UTC
(In reply to Maik Qualmann from comment #3)
> Note: In digiKam-5.3.0 must the search edited again so that it can be saved
> correctly.
> 
> Maik

Thank you for your swift response.
Comment 5 Erik Herlé 2016-11-07 20:32:25 UTC
Tested v5.3.0 and it works OK. Thank you.