Bug 518662 - "Delete permanently" with Shift+Del now focus on Cancel button then Delete button as before
Summary: "Delete permanently" with Shift+Del now focus on Cancel button then Delete bu...
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Trash (other bugs)
Version First Reported In: 8.8.0
Platform: Appimage Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-07 16:52 UTC by Johannes
Modified: 2026-04-07 19:55 UTC (History)
14 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 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