Bug 398986

Summary: Deleting a tag while using it as filter removes all images from the current view
Product: [Applications] digikam Reporter: Jens <jens-bugs.kde.org>
Component: Tags-KeywordsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:

Description Jens 2018-09-23 11:50:49 UTC
SUMMARY
see $SUBJECT

STEPS TO REPRODUCE
1. Tag some images (not all that are currently visible)
2. switch to tag filter view on the right side panel
3. check this tag to see only the tagged images
4. delete this tag

EXPECTED RESULT
As before when no tag filter was used, *all* images should be shown.

ACTUAL RESULT
No images are shown, it looks like the images were deleted. This is inconsistent with the previous view and not intuitive (I have no filter applied so I should see everything), plus it might shock the user (where are my images? Did I delete the images or just the tag?).

SOFTWARE VERSIONS
Digikam 6.0-beta appimage of 2018-09-22, running on Kubuntu 18.04 LTS (KDE 5.12).
Comment 1 Maik Qualmann 2018-09-23 19:21:58 UTC
Git commit 60644e76035a622eb68ef35273f0dbaebe9ed60a by Maik Qualmann.
Committed on 23/09/2018 at 19:20.
Pushed by mqualmann into branch 'master'.

uncheck checkbox to update filter before delete tag
FIXED-IN: 6.0.0

M  +2    -1    NEWS
M  +10   -0    core/app/filters/tagfilterview.cpp
M  +4    -0    core/app/filters/tagfilterview.h

https://commits.kde.org/digikam/60644e76035a622eb68ef35273f0dbaebe9ed60a