Bug 398986 - Deleting a tag while using it as filter removes all images from the current view
Summary: Deleting a tag while using it as filter removes all images from the current view
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (other bugs)
Version First Reported In: 6.0.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-23 11:50 UTC by Jens
Modified: 2018-09-23 19:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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