hellosiyan / Viewnior

Elegant Image Viewer
https://siyanpanayotov.com/project/viewnior/
GNU General Public License v3.0
320 stars 54 forks source link

Feature request: Move to trash instead of deleting #79

Open v-ko opened 4 years ago

v-ko commented 4 years ago

Hello, Viewnior is great, but recently I was curating some photos and misclicked and deleted the wrong one. It was no big deal, but it would be great if such mistakes were reversible.

Necklaces commented 4 years ago

On Linux / Unix-based systems, we might be able to use gvfs-trash which seems to be a common command (not a package). Or maybe gio trash. Or maybe they're the same thing. Should probably also be a configurable setting.

Though, readers may want to note that deleting a file (which by default opens a toggle menu to confirm, mind you) doesn't overwrite it, and they may still be recoverable through recovery software.

v-ko commented 4 years ago

You're right, the confirm dialog is a fair warning. I've had it disabled for a while and forgot about it, but that's on me.

strelec commented 4 years ago

Why should an image viewer even be able to delete photos? Same as setting the photo for background.

This is unnecessary cruft that bloats the software.

v-ko commented 4 years ago

So, when clearing photos, you like to switch between the file manager and photo-viewer-app? I guess it's a personal preference on the workflow, but it seems like a pretty basic functionality to me.

UbuntuMetal commented 3 years ago

Yes, please make moving images to Trash the default, rather than totally wiping the files. For those of us who like to delete a bunch of images as we go, having "Confirm image deletion" enabled isn't an option. And when we accidentally delete an image, it's gone for good, unlike with other viewers that simply move images to the Trash.