Summary: | New display style in trash bin. Sorted by deletion date. | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Philipp W <bugzilla> |
Component: | view-engine: general | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | angel_blue_co2004, bughunt, codestruct, david001, dukat, kde, kubry, martin.cg.magnusson, mschiff, negora, pdgiddie+kde, px79, tosiara, virtual.avatar |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/dolphin/0d2f86de18390169286c9ef928c0ca388e3ccd2d | Version Fixed In: | 17.08.0 |
Attachments: | An example for my idea. |
Description
Philipp W
2007-12-05 17:24:18 UTC
Created attachment 22361 [details]
An example for my idea.
This is my first idea.
KDE 4's new standard file manager Dolphin (and by extension Konqueror, because it reuses Dolphin's file system views) provides functionality that is a good match for this wish: It's possible to enable a "Show in Groups" option in the "Icons" view mode that divides the file items into groups and displays labeled group headers. If a folder is sorted by date, the files will be grouped by modification date. It displays real dates rather than fuzzy ones (i.e. not "Yesterday"), but it's close. Yes, I have seen it. But it does sort for each date, no larger groups possible. My wish gives the possibility to group like: "today, last week, before". And it needs changing the display style of my file manager when I am in the trashbin. And back to normal when I am in the filesystem again. But the style that dolphin gives for that grouping is very nice. something for kio trash I guess. I'd be satisified if there was a collumn to sort by "Date Deleted" as opposed to "Date" which is date modified, in the Trash. *** This bug has been confirmed by popular vote. *** *** Bug 267222 has been marked as a duplicate of this bug. *** *** Bug 216677 has been marked as a duplicate of this bug. *** *** Bug 178476 has been marked as a duplicate of this bug. *** I would say that the comments of this issue and its duplicates actually cover multiple issues: a) being able to sort trash by deletion date/time, b) add "Date deleted" column to the trash view, c) add "Original location" column to the trash view, d) new trash view style where files are classified into categories like "Today", "Yesterday", "Before" a), b) and c) were present in Konqueror in KDE3 (as comments in Bug 216677 claim) and I would be very happy to have them back in Konqueror and Dolphin in KDE4. d) was the original intent of Bug 153492. I personally think I would not need it (the granularity of one day for classification is quite arbitrary: sometimes I delete many files in a day, sometimes I might want to find a file that I deleted many days ago, so I think I would in general just use the Details view and sort files by deletion date). I would actually prefer to have the Details view without classification, only the two additional columns "Date deleted" and "Original location" (I don't care much about the other views, but classification might indeed make them more usable for viewing trash). I would like to sort trash by time of the deletion too Frank, can't this be achieved as some kind of faked metadata? So we can display and sort by it like we can for rating, modify date, etc? (In reply to comment #12) > Frank, can't this be achieved as some kind of faked metadata? So we can > display and sort by it like we can for rating, modify date, etc? The metadata is already available. In ~/.local/share/Trash/info/xxx.trashinfo, the DeletionDate is written. The problem, I suppose, is just how to get Dolphin to use that information. > The metadata is already available. In ~/.local/share/Trash/info/xxx.trashinfo, the DeletionDate is written. That's true! Also, Windows users (like the ones that come from Windows XP to a KDE distribution) are used to have that "deletion date" column and when they don't see it in Plasma, they think that Windows took a better care of users :-( KDE Plasma users being puzzled, too: http://forum.kde.org/viewtopic.php?f=66&t=17915 http://ubuntuforums.org/showthread.php?t=1000043 https://bugs.kde.org/show_bug.cgi?id=267222 I can't believe this is a nearly 10y old bug. kio_trash already says (in its json file) "ExtraNames": [ "Original Path", "Deletion Date" ], "ExtraTypes": [ "QString", "QDateTime" ], which makes those column descriptions available via KProtocolInfo::extraFields() and the actual data available via KIO::UDSEntry::UDS_EXTRA and KIO::UDSEntry::UDS_EXTRA+1. It's up to Dolphin to use that ;) KFileItemModel::retrieveData uses UDS_EXTRA for the "Path" column, but doesn't use extraFields() generically in order to allow kioslaves to define extra columns. -> reassigning to Dolphin. There you go: https://phabricator.kde.org/D6269 Sweet! Git commit 0d2f86de18390169286c9ef928c0ca388e3ccd2d by Kai Uwe Broulik. Committed on 20/06/2017 at 09:32. Pushed by broulik into branch 'master'. Support "Deletion Time" role in Trash This allows to sort by and show (both as additional data in icon view and column in column view) deletion date of files in Trash. CHANGELOG: It is now possible to view and sort by "Deletion Time" in Trash FIXED-IN: 17.08.0 Differential Revision: https://phabricator.kde.org/D6269 M +1 -1 src/kitemviews/kfileitemlistwidget.cpp M +38 -4 src/kitemviews/kfileitemmodel.cpp M +4 -2 src/kitemviews/kfileitemmodel.h https://commits.kde.org/dolphin/0d2f86de18390169286c9ef928c0ca388e3ccd2d *** Bug 360952 has been marked as a duplicate of this bug. *** |