Bug 496825

Summary: Add "Move to Trash" option to tab context menu, possibly prioritize in interface over existing Delete option
Product: [Applications] kate Reporter: EpicTux123 <EpicTux123>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: christoph, john.kizer
Priority: NOR    
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description EpicTux123 2024-11-29 09:58:25 UTC
A right-click in a tab (opened file) shows the "Delete" option.

I think that it should be changed to "Move to trash" to keep consistency with other KDE apps and also to avoid user error.
Comment 1 Christoph Cullmann 2024-12-01 13:57:52 UTC
I don't think that makes sense in the Kate context. I can not remember I wanted ever to move stuff to trash there.
I could live with an additional 'Trash' action like in Gwenview.
Comment 2 EpicTux123 2024-12-02 02:42:29 UTC
I don't think a Delete option should be offered in any context if something such as the Shift key is not pressed. This is to avoid user error. I didn't even know Gwenview had two options. I always prefer only having one (Move to Trash) due to possible user errors. (Moving to trash is reversible, but deleting is not.)
Comment 3 Christoph Cullmann 2024-12-02 08:38:21 UTC
(In reply to EpicTux123 from comment #2)
> I don't think a Delete option should be offered in any context if something
> such as the Shift key is not pressed. This is to avoid user error. I didn't
> even know Gwenview had two options. I always prefer only having one (Move to
> Trash) due to possible user errors. (Moving to trash is reversible, but
> deleting is not.)

I don't think so and always like that I have these both actions in Gwenview.
Comment 4 John Kizer 2024-12-13 06:08:16 UTC
For what it's worth, choosing "Delete" from within Kate still provides the "Do you really want to delete file x" pop-up prompt, so it's not an instant risk.

Would it make sense to change this to "Add 'Move to Trash' option to tab context menu" as the wishlist item?
Comment 5 EpicTux123 2024-12-13 15:16:18 UTC
> Would it make sense to change this to "Add 'Move to Trash' option to tab context menu" as the wishlist item?

I would rather to follow my original request (change Delete to Move To Trash), but your alternative is fine too in my opinion.