Bug 437548

Summary: In Table view Del removes Group Selected and second item to the trash
Product: [Applications] digikam Reporter: HJ <hannesjaagura>
Component: Albums-TableViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.3.0
Sentry Crash Report:

Description HJ 2021-05-23 14:18:01 UTC
SUMMARY
Table view in Del removes Group Selected and second item to the trash.
Menu View / Show All Grouped Items As Open menu is selected.

STEPS TO REPRODUCE
1. Similarity/Duplicates - select only Group Selected group item
2. Press Del
3. In Window These items will be moved to the Trash two items are shown.
This does not happen in the second item or with Group Selected item and Show All Grouped Items As Open menu is not selected.
OBSERVED RESULT
Risk deleting more files than intended

EXPECTED RESULT

Only selected group item is shown in oabout to delete window.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-05-23 15:29:25 UTC
Git commit 650df76dbb85e999aaf3b3b186b427266d391110 by Maik Qualmann.
Committed on 23/05/2021 at 15:28.
Pushed by mqualmann into branch 'master'.

resolve grouped items in the table view when delete images
FIXED-IN: 7.3.0

M  +2    -1    NEWS
M  +4    -2    core/app/views/tableview/tableview.cpp

https://invent.kde.org/graphics/digikam/commit/650df76dbb85e999aaf3b3b186b427266d391110