[haiku-development] Re: Tracker feature cleanup

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 13 Jan 2010 09:16:35 +0100

David McPaul <dlmcpaul@xxxxxxxxx> wrote:
> 2010/1/13 Rene Gollent <anevilyak@xxxxxxxxx>:
> > The problem is it's only that simple in the single-disk case. As 
> > soon
> > as you have multiple disks that's no longer true since the Trash
> > folder is a composite of the contents of Trash for every disk. The
> > latter is unavoidable since you need a per-disk Trash folder in 
> > order
> > to guarantee that moving to Trash cannot fail.
> But you only have 1 desktop folder that exists in your home 
> directory.
> It contains a link to the trash folder that exists on the root of the
> disk containing your home directory.
> The root trash folders are a composite of all disks.
> 
> A user looking at their desktop would see a trash icon (with a link
> part) and understand that it is not a real folder but a link.
> A user looking at the actual trash folder would see a composite of 
> all
> mounted disks.

I like this solution, as it also enables the user to move the Trash 
directory to some other place (or remove it completely, although this 
should probably only work in the shell) - ie. Tracker could always 
replace links to the Desktop's trash with the contents of the virtual 
composite trash.

Bye,
   Axel.


Other related posts: