Bug 286437

Summary: "No Pick label" filter doesn't work
Product: [Applications] digikam Reporter: Romain Henriet <romain.pub>
Component: Albums-FiltersAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:

Description Romain Henriet 2011-11-12 18:43:56 UTC
Version:           2.2.0 (using KDE 4.7.3) 
OS:                Linux

You can't filter photos that don't have "Rejected/Pending/Accepted" flag because toggling "None" button alone make all photos disappear.

Reproducible: Always

Steps to Reproduce:
Open an album where you have photo tagged as Rejected/Pending/Accepted and others not tagged with it.
Open "Filters" tab.
Toggle "None" button on, in flags line.

Actual Results:  
All photos disappear

Expected Results:  
Only photos without flag should be shown

OS: Linux (x86_64) release 2.6.37.6-0.9-desktop
Compiler: gcc
Comment 1 Marcel Wiesweg 2012-02-20 15:44:10 UTC
Git commit e2c4347eb396259f5438d2f629b31710d4f4fb76 by Marcel Wiesweg.
Committed on 20/02/2012 at 16:42.
Pushed by mwiesweg into branch 'master'.

Fix filtering by "NoColorLabel" and "NoPickLabel"

This filtering need not only test for "has the NoColorLabel tag",
but also for "has none of the color label tags assigned"

M  +2    -2    NEWS
M  +49   -12   libs/models/imagefiltersettings.cpp

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