3 kio_trash implements the XDG trash standard currently at http://www.ramendik.ru/docs/trashspec.html
5 In case race conditions between the various instances of kio_trash
6 are a problem, trashimpl could be moved to a kded module, and
7 kio_trash would use DCOP to talk to it. It's a bit hard to come up
8 with use cases where the race conditions would matter though.
12 * Undo of "restore" isn't available. Need to get origPath by metadata I guess.
16 * Clean up konq_popupmenu.cc for Type=Link URL=trash:/ :(
17 * Also, provide metainfo for trash contents for that desktop link.
18 => maybe we need a new mimetype?
19 Like application/x-trash-desktop, inheriting application/x-desktop.
20 And a "trash.trashdesktop" filename or so (ouch, migration issues...)
22 * Detect removeable media to avoid .Trash-foo on it. How?
24 * Trashcan properties (properties for trash:/? hmm. Easier with separate dialog)
25 - Maximum size for trash can (#18109 suggests a %, but a MB size is easier).
26 This means to delete the oldest files from the trash automatically. #79553
28 * Err, should we support renaming? :) Difficult to disable...
29 In fact it's already not disabled in readonly directories (e.g. "/") -> todo
30 (for F2 and kpropertiesdialog)
32 * Deleting oldest files when size is bigger than a certain configurable amount (#79553)
34 Bugs closed by kio_trash
35 ========================
37 #62848 (configurable trash location)
41 #76380 #56821 (trashing on same partition)
45 We use trash:/trashid-fileid[/relativepath]
46 This gave problems with CopyJob::startRenameJob which exposed trashid-fileid
47 to the user as a filename when dropping a file out of the trash.
48 But this was fixed with the fileNameUsedForCopying=Name setting.
50 A previous experiment was trash:/filename[/relativepath]?t=trashid&id=fileid
51 but this gives problems with going Up (it first removes the query),
52 with KDirLister (it wouldn't know when to remove the query, to find the URL
53 of the parent directory).