Bug 520697 - Grouped Image in Survey is not deleted
Summary: Grouped Image in Survey is not deleted
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Survey (other bugs)
Version First Reported In: 9.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-27 01:54 UTC by Geoff King
Modified: 2026-06-07 11:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff King 2026-05-27 01:54:29 UTC
Hi, 
In trying the new Survey feature, I have a set of grouped images JPG/DNG and JPG/CR3, etc.  When in Survey, I delete a group using the delete key and it only sends the primary image to the Trash.  The secondary CR3 is visually deleted, but not actually trashed.  When I refresh the secondary CR3 shows up again.  I expected it to send both images to the Trash.

I can delete the full group when viewing images in Preview.  I have also set all settings in Grouping  to Yes for all the options [at least for this testing].

SOFTWARE/OS VERSIONS (from kinfo)
Operating System: Kubuntu 26.04 LTS
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 7.0.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 5060

This is using the digiKam-9.0.0-Qt6-x86-64.appimage
Comment 1 caulier.gilles 2026-05-27 06:59:08 UTC
The 9.1.0 pre-release (planed next week) must includes the necessary fixes.

https://files.kde.org/digikam/

Warning: database schema will be changed with this release. Test is on a small collection or backup your database before to test if you want to back to 9.0.0.

Gilles Caulier
Comment 2 Geoff King 2026-06-03 12:42:08 UTC
Hi, 
I tried this on the latest version:   digiKam-9.1.0-20260601T071308-Qt6-x86-64.appimage
Same results,  when using survey the second RAW file is not moved to trash.  

digiKam: 9.1.0
KDE Frameworks: 6.25.0
Qt: Using 6.11.0 and built against 6.11.0
AppImage
Ubuntu 26.04 LTS (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 7.0.0-22-generic
Comment 3 caulier.gilles 2026-06-04 21:26:36 UTC
Maik, 

You don't fix the behavior with the model shared between the icon view and the survey view ? If yes, this use case must be fixed too.

Gilles
Comment 4 Maik Qualmann 2026-06-05 04:58:42 UTC
I'll take a look at it.

Maik
Comment 5 Maik Qualmann 2026-06-07 11:14:53 UTC
Git commit 5728115514aa2d8b94cdc74e6405cfe548ae6aca by Maik Qualmann.
Committed on 07/06/2026 at 11:13.
Pushed by mqualmann into branch 'master'.

fix delete action in the Survey view
FIXED-IN: 9.1.0

M  +1    -1    NEWS
M  +1    -55   core/utilities/survey/surveywindow.cpp
M  +0    -4    core/utilities/survey/surveywindow.h
M  +1    -4    core/utilities/survey/surveywindow_p.h

https://invent.kde.org/graphics/digikam/-/commit/5728115514aa2d8b94cdc74e6405cfe548ae6aca