Reply to topic

A trash for every drives !

paviluf
Registered Member
Posts
55
Karma
0

A trash for every drives !

Fri Dec 18, 2015 7:00 pm
Some time ago I proposed a new removable drives trash behavior for Dolphin :
Removable drives: Ask to empty the removable drive trash (only that one) when you unmount it

But like David Edmundson said "A prompt every time you unmount a USB pen sounds like it would become very tiresome very quickly". And even if I thought about it as an option that can be disabled I think he was right and it was not optimal.

I thought about this again and I come with a better way to manage the removable drives trash. But first let me remember you the situation as it is now.

As you know there is no trash for the removable drives, there is only one for the system. At the moment you only have 2 "bad" solutions for emptying the removable drive trash. Either you emptying the whole system trash, but you not necessarily want to do this because you may have some deleted files from your HDD that you are not ready to completely delete, either you display the hidden files and delete the .Trash-1000 folder on the removable drives, but that's not really user friendly.

So the new feature I propose is simply to have a trash for every drive ! We should display a trash for every removable drives in Dolphin. After all each media have its own .Trash-1000 folder.

That will also help people that are switching to Linux on Plasma desktop. They often don't understand why their USB stick become full whereas there is only some little files or no file at all on it. But if they see a trash that correspond to their USB stick they will understand than they can retrieve their files and empty the trash.

What do you think ?
luebking
Karma
0

Re: A trash for every drives !

Fri Dec 18, 2015 7:52 pm
Just delete the files? My "Trash" is always empty....
paviluf
Registered Member
Posts
55
Karma
0

Re: A trash for every drives !

Fri Dec 18, 2015 8:15 pm
luebking wrote:Just delete the files? My "Trash" is always empty....

That's not safe and what the point to have a trash ?
That behavior is not for everybody ;)
luebking
Karma
0

Re: A trash for every drives !

Fri Dec 18, 2015 8:32 pm
Ok, fyi
http://standards.freedesktop.org/trash- ... c-1.0.html

> We should display a trash for every removable drives in Dolphin.
This boils down to "dolphin should display all topdir trashes in the lefthand panel", doesn't?
paviluf
Registered Member
Posts
55
Karma
0

Re: A trash for every drives !

Fri Dec 18, 2015 8:46 pm
luebking wrote:This boils down to "dolphin should display all topdir trashes in the lefthand panel", doesn't?

Yes, each media have its own trash folder so why not using this feature to improve the user experience ?
luebking
Karma
0

Re: A trash for every drives !

Fri Dec 18, 2015 8:48 pm
To be clear: you still want the trash on that device to avoid all overhead of phyical data transfer, right?
paviluf
Registered Member
Posts
55
Karma
0

Re: A trash for every drives !

Tue Dec 22, 2015 1:26 pm
Yes. Nothing change. Every device have his trash folder but Dolphin allow us to empty the trashes individually.
paviluf
Registered Member
Posts
55
Karma
0

Re: A trash for every drives !

Wed Dec 30, 2015 1:03 pm
I hope that will make it into Dolphin.
I opened a bug report to ask for this feature.

https://bugs.kde.org/show_bug.cgi?id=357041
freininghaus
Moderator
Posts
224
Karma
1
OS

Re: A trash for every drives !

Thu Dec 31, 2015 10:12 am
Note that this topic is not Dolphin-specific at all. You would also have to show the different trashes in the "Places" section of the file dialog of other applications, and in lots of other places. And there are lots of questions to be answered, like, what should happen if you click Plasma's Trash widget?

Implementing multiple trashes in such a way that they solve more problems than they cause is far from easy, I think.
paviluf
Registered Member
Posts
55
Karma
0

Re: A trash for every drives !

Thu Dec 31, 2015 10:44 am
It's probably not so easy to implement but it's an really useful feature that improve the user experience.
luebking
Karma
0

Re: A trash for every drives !

Thu Dec 31, 2015 3:44 pm
First off all, kio-trash needed to support the $toplevel trashing (what doesn't seem to be the case atm.) - not really hard, but quite some work to do.
This might be useful by itself, since it will avoid I/O overhead when dele... "trashing" files other than on the $HOME partition (avoid physical copy, let alone network I/O)
=> kio-trash will have to depend on solid for this purpose - or simply check all all mountpoints otherwise.

Once that's gained, trash:// could structure the different $trash dirs, using partition labels as directories, containing the (still) flat trash.
Those subdirs would require an "empty" context action each and could be exposed by the trashbin context menu (to empty HOME, Key_1, HDD_ext, ...)

 
Reply to topic

Bookmarks



Who is online

Registered users: akselmo, Bing [Bot], driveprogramming, enricmetall, Google [Bot], pandiloko