Opened 14 years ago

Last modified 14 years ago

#5245 closed enhancement

Relocate Trash folder and make it multiuser-ready — at Initial Version

Reported by: anevilyak Owned by: anevilyak
Priority: normal Milestone: R1
Component: Kits/libtracker.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

The current Trash implementation is somewhat less than ideal for several reasons:

1) It requires the creation of /home/Desktop on every non-boot volume. 2) as a consequence of the first point it isn't really multiuser-safe.

A proposed alternative is to move the Trash folder to the root dir of each volume, and have it segregated into per-user subdirectories. This will require changes to find_directory() as well as Tracker's FSCreateTrashDir / FSGetTrashDir and probably DesktopDirEntryIterator. Note that if we want the directory to be hidden when browsing the volume root, we will have to re-enable respecting the fInvisible attribute of PoseInfo, which has caveats for those multibooting with other BeOS variants as mentioned in hrev35040.

Change History (0)

Note: See TracTickets for help on using tickets.