Bug 476955 - Missing Copy and/or Cut Options in Trash Context Menu
Summary: Missing Copy and/or Cut Options in Trash Context Menu
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-13 17:44 UTC by promike1987
Modified: 2024-10-14 15:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description promike1987 2023-11-13 17:44:33 UTC
### Bug Description:
When items are placed in the Trash, the right-click context menu lacks the options to copy or cut the files. The available options are limited to "Restore" and "Delete." While the drag and drop method is a viable alternative, the absence of traditional copy/cut options in the context menu may inconvenience users who prefer or are accustomed to those methods.

### Steps to Reproduce:
1. Move a file or folder to the Trash.
2. Right-click on the item in the Trash.

### Expected Behavior:
In the right-click context menu, there should be options for "Copy" or "Cut" in addition to "Restore" and "Delete."

### Actual Behavior:
The right-click context menu in the Trash only provides options for "Restore" and "Delete," omitting the traditional "Copy" and "Cut" options.

### Additional Information:
- The drag and drop method can be used as a workaround, but users may expect to find the copy/cut options directly in the context menu.
- Confirming the behavior on Archlinux, Kde Plasma Version 5.27.8, Dolphin 28.08.1
Comment 1 TraceyC 2024-10-01 18:17:34 UTC
This seems like a small, reasonable addition to the right click menu
Notably, the shortcuts for copy / cut / paste still work in the Trash folder.

Also see https://bugs.kde.org/show_bug.cgi?id=493808 which is related, but the user wants different functionality to be (re)added to the Trash right click menu
They point out the actions available in the menu are inconsistent with the hamburger menu
Comment 2 Bug Janitor Service 2024-10-12 05:01:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/840
Comment 3 Méven 2024-10-14 15:52:47 UTC
Git commit 58062f9a3973c1445cb2a5a4c8b77deadb99099d by Méven Car, on behalf of Eren Karakas.
Committed on 14/10/2024 at 15:52.
Pushed by meven into branch 'master'.

Add context menu items to Trash view and items

Sort by and View mode are already available through hamburger menu; cut and copy are already available through shortcuts
Related: bug 493808

M  +17   -0    src/dolphincontextmenu.cpp

https://invent.kde.org/system/dolphin/-/commit/58062f9a3973c1445cb2a5a4c8b77deadb99099d