Bug 282319

Summary: Empty Unremovable Keyword
Product: [Applications] digikam Reporter: Johannes Schmidt <johannes-schmidt>
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.1.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 2.2.0

Description Johannes Schmidt 2011-09-19 04:27:52 UTC
Version:           2.1.0 (using KDE 4.7.1) 
OS:                Linux

After Face Recognition (possibly after deleting the created "People" Keyword there seems to be an empty keyword wich can not be removed via the context Menu "delete Keywords". Though no keywords are shown under the image thumbnail the "delete keywords" entry is not greyed out.

This is annoying because the images which have this problem are not shown when the filter "without keywords" is applied although the have no keywords.

Reproducible: Always

Steps to Reproduce:
1. Scan a album for faces
2. Delete the created "people" keyword in the keyword editor
3. apply the filter "without keywords" to the album
4. try to delete the keyword via context menu


Actual Results:  
a. the filter shows nothing, everything seems to be keyworded though it's not
b. the "delete keyword" entry in the context menu is not greyed out and when you hover over it ther is no submenu coming up

Expected Results:  
a. the images are all shown as the do not have a keyword anymore
b. the entry is greyed out
Comment 1 Marcel Wiesweg 2011-09-22 20:51:21 UTC
Git commit e93040ee2573ec20a86be5aea042d39f1f7c9292 by Marcel Wiesweg.
Committed on 22/09/2011 at 22:15.
Pushed by mwiesweg into branch 'master'.

Disable Remove Tags menu when no tags are assigned, excluding assigned internal tags

Ensure that internal tags are ignored.
For performance reasons, the disabling is done "on demand" when hovering
the submenu entry, not when showing the context menu.

CCBUG: 282319

M  +19   -7    digikam/tags/tagspopupmenu.cpp

http://commits.kde.org/digikam/e93040ee2573ec20a86be5aea042d39f1f7c9292
Comment 2 Marcel Wiesweg 2011-09-22 20:51:21 UTC
Git commit 9ac04a2a3724f11e53219004c210f088c914c04d by Marcel Wiesweg.
Committed on 22/09/2011 at 22:50.
Pushed by mwiesweg into branch 'master'.

Fix not-tagged filter, ignore internal tags

Filtering is based on lookup in a cached QSet, so very fast.
BUG: 282319

M  +4    -1    NEWS
M  +1    -1    libs/models/imagefiltersettings.cpp

http://commits.kde.org/digikam/9ac04a2a3724f11e53219004c210f088c914c04d