<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>520697</bug_id>
          
          <creation_ts>2026-05-27 01:54:29 +0000</creation_ts>
          <short_desc>Grouped Image in Survey is not deleted</short_desc>
          <delta_ts>2026-06-07 11:14:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Preview-Survey</component>
          <version>9.0.0</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Geoff King">gsking1</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/digikam/-/commit/5728115514aa2d8b94cdc74e6405cfe548ae6aca</cf_commitlink>
          <cf_versionfixedin>9.1.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2518580</commentid>
    <comment_count>0</comment_count>
    <who name="Geoff King">gsking1</who>
    <bug_when>2026-05-27 01:54:29 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2518613</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2026-05-27 06:59:08 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2520322</commentid>
    <comment_count>2</comment_count>
    <who name="Geoff King">gsking1</who>
    <bug_when>2026-06-03 12:42:08 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2520708</commentid>
    <comment_count>3</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2026-06-04 21:26:36 +0000</bug_when>
    <thetext>Maik, 

You don&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2520779</commentid>
    <comment_count>4</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-06-05 04:58:42 +0000</bug_when>
    <thetext>I&apos;ll take a look at it.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2521214</commentid>
    <comment_count>5</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-06-07 11:14:53 +0000</bug_when>
    <thetext>Git commit 5728115514aa2d8b94cdc74e6405cfe548ae6aca by Maik Qualmann.
Committed on 07/06/2026 at 11:13.
Pushed by mqualmann into branch &apos;master&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>