<?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>518662</bug_id>
          
          <creation_ts>2026-04-07 16:52:05 +0000</creation_ts>
          <short_desc>&quot;Delete permanently&quot; with Shift+Del now focus on Cancel button then Delete button as before</short_desc>
          <delta_ts>2026-04-07 19:55:01 +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>Albums-Trash</component>
          <version>8.8.0</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Johannes">johannes.lists+bugs.kde.org</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>ajg02</cc>
    
    <cc>anantapalani</cc>
    
    <cc>caulier.gilles</cc>
    
    <cc>Ch.Ehrlicher</cc>
    
    <cc>d.anielschmid</cc>
    
    <cc>faure</cc>
    
    <cc>finex</cc>
    
    <cc>hkunimoto</cc>
    
    <cc>ivor</cc>
    
    <cc>Julien</cc>
    
    <cc>metzpinguin</cc>
    
    <cc>ps_ml</cc>
    
    <cc>smarij</cc>
    
    <cc>windows-bugs-null</cc>
          
          <cf_commitlink></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>2508690</commentid>
    <comment_count>0</comment_count>
    <who name="Johannes">johannes.lists+bugs.kde.org</who>
    <bug_when>2026-04-07 16:52:05 +0000</bug_when>
    <thetext>SUMMARY
I use &quot;Delete permanently&quot; with Shift+Del a lot. Somewhere between version 8.1.0 and 8.8.0 the focus changed from Delete button to Cancel button which is very annoying to me because I can&apos;t press only Enter anymore to delete. So most times I have to press Shift+Del again because I pressed Enter so fast that the window closed and I have to remember that the focus changed…

STEPS TO REPRODUCE
1. Open digiKam 8.8.0, select an image and press Shift+Del.
2. Observe which button is focused.
3. Open digiKam 8.1.0, select an image and press Shift+Del.
4. Observe which button is focused.

OBSERVED RESULT
 digiKam 8.8.0: The button Cancel is focused.
 digiKam 8.1.0: The button Delete is focused.

EXPECTED RESULT
The button Delete should be focused as before.

SOFTWARE/OS VERSIONS
digiKam: 8.8.0
KDE Frameworks: 6.17.0
Qt: Using 6.9.1 and built against 6.9.1
Ubuntu 24.04.4 LTS (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.17.0-19-generic</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2508713</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-04-07 19:51:32 +0000</bug_when>
    <thetext>This was a user request submitted via a bug report. The reason given was to make accidental deletion more difficult.

For permanent deletion without using the trash, I left the focus set to the Cancel button. For deletion via the trash, I reverted this change, as undoing or restoring is possible.

Since two user requests conflict here, there will be no change. And no, we will not make it configurable either.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2508714</commentid>
    <comment_count>2</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2026-04-07 19:55:01 +0000</bug_when>
    <thetext>See Bug 492054

Maik</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>