Bug 291877

Summary: Change tag filters checkboxes to three-states checkboxes to allow filtering by inclusion and by exclusion
Product: [Applications] digikam Reporter: Olivier Kes <olivier.keshavjee>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 2.7.0

Description Olivier Kes 2012-01-18 15:57:05 UTC
Version:           2.5.0 (using KDE 4.7.4) 
OS:                Linux

I think we should change the checkboxes to three-states checkboxes (unchecked, selected, excluded), to allow finer filtering. We could filter all pictures having TAG0, not having TAG1, and indifferent to TAG2.

For example, if I want to see all my landscapes except those with sunset, I could filter by "+landscapes -sunset".

I was confronted today to the situation when I had to make a selection of pictures in my whole collecting by date. All pictures that were resized were shown twice, and I couldn't exclude only those.

Reproducible: Always

Steps to Reproduce:
.


Expected Results:  
Check boxes in tags filter should allow [ ], [x], [v].
Comment 1 Marcel Wiesweg 2012-06-10 19:47:12 UTC
Tags filter already supports this. You can set a tag to "exclude" mode either by middle click or via the context menu. At the bottom right, you can switch between AND and OR.