Bug 518662

Summary: "Delete permanently" with Shift+Del now focus on Cancel button then Delete button as before
Product: [Applications] digikam Reporter: Johannes <johannes.lists+bugs.kde.org>
Component: Albums-TrashAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: ajg02, anantapalani, caulier.gilles, Ch.Ehrlicher, d.anielschmid, faure, finex, hkunimoto, ivor, Julien, metzpinguin, ps_ml, smarij, windows-bugs-null
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 9.1.0
Sentry Crash Report:

Description Johannes 2026-04-07 16:52:05 UTC
SUMMARY
I use "Delete permanently" 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'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
Comment 1 Maik Qualmann 2026-04-07 19:51:32 UTC
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
Comment 2 Maik Qualmann 2026-04-07 19:55:01 UTC
See Bug 492054

Maik