Bug 498852 - "Extract here and delete" is confusing since the file is moved to trash, not deleted
Summary: "Extract here and delete" is confusing since the file is moved to trash, not ...
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 16:00 UTC by flan_suse
Modified: 2025-01-22 15:43 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 flan_suse 2025-01-18 16:00:05 UTC
When a user right-clicks to "Delete" a file, they are shown a warning message, which they need to confirm to continue.

This is the sane approach, since it involves a *destructive* action.

When a user right-clicks and selects "Extract here and delete" for an archive file, there is NO WARNING. It immediately extracts the contents and permanently deletes the archive file.

I have accidentally lost original archive files because of this context menu, not realizing it until later, after having edited and worked with the extracted files. Thankfully, I had a backup of my data where I could retrieve the original file again.

PLEASE. PLEASE. Any action that involves permanent destruction *NEEDS A WARNING AND CONFIRMATION*.

I would even argue that this context menu needs to be *optional*, or at least have a way to *disable* it. The fact that it's mandatorily shown and sandwiched between two other non-destructive "extract" actions is poor design.

If a user really wants to permanently delete a file, they always have the ability to do this anyways.
Comment 1 Filip 2025-01-19 13:30:36 UTC
I can't talk about making the changes here, but I want to tell you that it doesn't permanently delete the archive. It is moved to trash. I guess that's why there isn't any warning, you can recover it from trash.
Comment 2 Akseli Lahtinen 2025-01-22 15:41:48 UTC
When user selects "Move to Trash" there's no warning confirmation. For same reason, this does not happen with the archive files, since it's moved to trash. 

However "Extract and delete archive" is likely wrong wording here. It should be "Extract and move the archive to trash" or similar.
Comment 3 Akseli Lahtinen 2025-01-22 15:43:13 UTC
I'll set this confirmed since the wording causes confusion.