Bug 498132

Summary: Request: Not have the "Remove" button immediately after "Restore" button in order to avoid a high chance of misclicks
Product: [Applications] dolphin Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: kdelibs-bugs, kfm-devel, nate
Priority: NOR Keywords: usability
Version: 24.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 25.04.0
Sentry Crash Report:
Attachments: Restore|Remove

Description Fernando M. Muniz 2025-01-01 18:20:21 UTC
Created attachment 177020 [details]
Restore|Remove

Having two opposite yet most important functions of the Trash right next to each other creates an unnecessary high change of misclicks.

It's even worse if the user has marked the "Deletion's Confirmation Box" with "Don't ask me again".

I would prefer that the "Remove" button is moved to the bottom of the Context Menu, because it's the most distant to the cursor/vision of the user, and it's an irreversible action.
Comment 1 Nate Graham 2025-01-02 20:28:16 UTC
Yeah, that's sensible.
Comment 2 Bug Janitor Service 2025-01-02 20:43:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/879
Comment 3 Nate Graham 2025-01-02 20:43:49 UTC
The code is actually in Dolphin; moving there.
Comment 4 Nate Graham 2025-01-07 15:51:48 UTC
Git commit 65f095b81f9df7846d13a581a63757eb7c71ade8 by Nate Graham.
Committed on 07/01/2025 at 15:17.
Pushed by ngraham into branch 'master'.

Improve trash context menu UI

Right now the "Delete" item is right next to "Restore", which means you
can accidentally destroy the item you meant to restore!

To prevent this, the menu is re-arranged slightly, and "Restore" is
given a more visually clear icon and label.
FIXED-IN: 25.04.0

M  +23   -15   src/dolphincontextmenu.cpp

https://invent.kde.org/system/dolphin/-/commit/65f095b81f9df7846d13a581a63757eb7c71ade8