Bug 496825 - Add "Move to Trash" option to tab context menu, possibly prioritize in interface over existing Delete option
Summary: Add "Move to Trash" option to tab context menu, possibly prioritize in interf...
Status: CONFIRMED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 09:58 UTC by EpicTux123
Modified: 2024-12-14 01:26 UTC (History)
2 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 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.