in trash: show delete-date

Bug #301552 reported by haddock
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Wishlist
One Hundred Papercuts
Invalid
Undecided
Unassigned
nautilus (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Bug/Feature Request:
In the trashbin, it should be possible to view/sort the files according to the date/time, when they were deleted. I often need this feature, when I realize that I have deleted a file by mistake, but cannot remember its exact name (or sometimes there are many files in the trash that have the same/ a similar name).

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: ath_hal
Package: nautilus 1:2.24.1-0ubuntu1
ProcEnviron:
 PATH=/home/User Name/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_CH.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.27-8-generic i686

Tags: apport-bug

Related branches

Revision history for this message
haddock (kaeptn-haddock) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

that's an upstream request and should be opened on bugzilla.gnome.org

Changed in nautilus:
importance: Undecided → Wishlist
Revision history for this message
Pedro Villavicencio (pedro) wrote :

please feel free to forward this report to bugzilla.gnome.org for forwarding instructions have a look to https://wiki.ubuntu.com/Bugs/Upstream/GNOME ; thanks in advance.

Changed in nautilus:
assignee: nobody → desktop-bugs
status: New → Confirmed
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Forwarded upstream and linked here.

Changed in nautilus:
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
haddock (kaeptn-haddock) wrote :

thanks for taking care of the wording, the forwarding and everything - I'm not so good at using launchpad, have to admit it.. Something I should have mentioned maybe in the first post: it's a functionality I've been used to from using windows xp
(so probably that's why it felt like a bug to me, that the feature is not available in ubuntu :)

Changed in nautilus:
status: Confirmed → Triaged
Changed in nautilus:
status: Unknown → Confirmed
Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

Related (not duplicates) bugs are https://bugs.launchpad.net/bugs/150112 and
https://bugs.launchpad.net/bugs/228369

These are functionality that is necessary when a user runs low on diskspace.
A user cannot decide which files are to be emptied from the trash (automatically
or manually) unless there is a way to sort the files by the deletion dates.

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

This is a feature request, not a trivially fixable usability issue; therefore, it is not a paper cut.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

I cannot comment on whether this is trivially fixable or not, but as an end user I find the Trash feature practically useless if I cannot clean out large quantities of trash (automatically or manually) periodically. Knowing the delete date is vital to achieving this (and is not a feature request, but a vital flaw in functionality), in my opinion. But then its just my opinion.

Thanks for the quick response, dave.
Cheers.

Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

Sancho, no need to justify the change proposed by this bug report -- it looks like it is already triaged in Nautilus. Marking it as invalid within hundredpapercuts, and commenting that it is not a paper cut, in no way addresses whether or not the bug is valid or affects the usability of Ubuntu; in this case, a fix would involve writing new code to add a new feature to the interface, so it falls outside of the purview of the hundredpapercuts project, along with many other "vital [flaws] in functionality" whose remedies are not paper cut-sized.

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :
Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :
Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

A similar bug has been fixed in KDE/Kubuntu and is discussed here: https://bugs.launchpad.net/nautilus/+bug/228369

Using all the links to code above and the Kubuntu bugfix, it doesnt seem like fixing this bug in Ubuntu/Nautilus
should take too long for a programmer (unfortunately I'm not, so maybe I'm wrong). This bug is really a nuisance
for people who need to empty trash often without having to delete the recently trashed files.
Is this still a non-trivial fix? Is it still not qualified to be a papercut?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

The bug is being tracked at http://bugzilla.gnome.org/show_bug.cgi?id=89706 you can always propose a patch in order to fix this if you think it would not take too long to do a patch for it, the Ubuntu team doesn't have the resources to work on a feature request like this one for now, you might want to comment upstream if you're really interested on it. Thanks in advance.

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

Thanks for the prompt response Pedro. It would help if you clarify my next logical question:
How is one supposed to use the Trash feature in ubuntu? Is it currently meant only for the purpose of
immediate (NOT short/long term) retrieval of deleted files? Because I cannot currently empty
the trash without loosing both recent and really old files, when I can only afford to delete the really old files.
But I may not be using the Trash feature in the way it is intended and would really like someone
to tell me how to use it the way it exists currently.

Cheers!

Revision history for this message
Vish (vish) wrote :

Holger Berndt has already implemented the date and time deleted feature> https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/95853/comments/56

But has not replied to requests to submit the patch here or upstream!
Anyone interested in this feature can try to contact him via the launchpad contact user link, to speed things up.

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

I've made some progress. At least the date shows up the in the column. Next I'll have to figure out how to only show this column when in trash:///

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

Thanks for the effort. Let us know if there is anything we can do.
FYI...I'm a non-programmer, but can help with some testing if needed.

Cheers,

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

Sancho Panza, patch added to upstream bugreport - feel free to try it out :)

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

:D Sorry I didnt fully get you. The only way I can afford is by adding/enabling a repository in synaptic and letting the system take care of the conflicts/dependencies. Is there anyway I can do that in this situation?
I cannot risk messing too much with my system as this is the only one I have and I have to use it for work.

Apologies and Thanks,

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

Sancho, np ;-) but if you wanna try it out anyway here's a quick guide to let you patch nautilus manually (actually, most of this can be used for other packages as well).

Create a directory to put your packages in, such as ~/mypackages/
# mkdir mypackages && cd mypackages

Get the source for nautilus
# apt-get source nautilus

Make sure we have all the stuff needed for building it
# apt-get build-dep nautilus

cd in to the nautilus-XXX path, were XXX is current version
# cd nautilus-XXX

copy the patch from upstream report into the debian/patches
# cp /path/to/patch/nautilus_trash_columns_arrange.patch debian/patches/10_nautilus_trash_columns_arrange.patch

I gave it the prefix 10 - but I cannot say what number (actually the order when the patch will be applied) will work. Trial and error here.

Some packages has a series file which define the order the patches will be applied. Nautilus is such a package. Edit the file and put the name of the file in the list at some place.
# nano debian/patches/series

Now lets build the package (this will take some time, go grab some coffee and hold tight to your lucky amulet)

# dpkg-buildpackage -rfakeroot -b -tc

If the build succeeded we will have a bunch of .deb files in the ~/mypackages folder so let's go there and install them

# cd ..
# sudo dpkg -i *.deb

Log out and log in and you'll have the new nautilus.

IF something for some reason didn't work well with the new version it's easy to remove it and install the Ubuntu version.

# sudo apt-get update && sudo apt-get upgrade

This will replace your version with the real one, so either be careful about your next upgrade if you'd like to keep your modified one.

(This comment, or article, will most likely contain errors so keep your head sharp ;-))

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

I could not go beyond
"# apt-get build-dep nautilus "
due to error "E: Build-dependencies for nautilus could not be satisfied."

I tried fixing it using some development libraries like gtk etc., but got drawn deeper into dependency hell.

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

Sancho Panza, it's probably because you're running karmic and got unlucky. Wait a few days and then try again and the repo is probably in a good state.

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

@ Marcus: No, I'm running Jaunty. I realise it was bcos I have a modded libcairo that I need to fix a firefox bug.
But even after I fixed that issue, I had problems with the patch not being applied despite
using various prefixes from 05-20 for the patch file.

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

@ Marcus: Is there a repository that you are aware of that hosts the patched nautilus? I checked yours,
but wasnt sure if it was the one I was looking for.

Thanks for all your efforts!

Revision history for this message
Neil Walker (fatboynotsoslim) wrote :

Markus, where can I find "nautilus_trash_columns_arrange.patch" in order to attempt to compile nautilus myself?
Does comment 24 from here: https://bugzilla.gnome.org/show_bug.cgi?id=89706 have the patch I'm looking for?

-Neil

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

Neil, yep that would be it. I'm not sure if it will apply cleanly against 2.29 - but you're welcome to update it if its not ;)

Revision history for this message
Neil Walker (fatboynotsoslim) wrote :

Thanks Marcus. One last thing, is it all that code to go into a .patch file? Or only parts of it? I've looked at the current patch files in the nautilus-source, and none of them have the same or even similar file formatting.
In case you were wondering, yes I am a long time reader, first time writer on launchpad, hence why it isn't explicitly obvious for what I have to do.

-Neil

Revision history for this message
Marcus Carlson (0-launchpad-mejlamej-nu) wrote :

Neil, not sure what you mean - but all the code in the patch is necessary. I just tried the patch against the latest 2.29.1 release and it seems to apply nicely (I cannot test to compile it atm).
About the formatting; I hope it's standard nautilus formatting :) - in case not - please tell me what's wrong and I'll try to fix it.

Revision history for this message
Neil Walker (fatboynotsoslim) wrote :

Marcus, its the first patch I've ever had to do, hence why I wasn't sure on the correct formatting etc.
Upon running it, I get this:
# Patch 10_nautilus_trash_columns_arrange.patch does not apply (enforce with -f)
# make: *** [debian/stamp-patched] Error 1
# dpkg-buildpackage: failure: debian/rules build gave error exit status 2

I'm using the latest official nautilus for jaunty, and applying the patch against 2.26.2 . I'll look into more when I get more time later.

-Neil

Changed in nautilus:
status: Confirmed → Fix Released
Revision history for this message
Vish (vish) wrote :

Fixed upstream

Changed in nautilus (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

Approx. when can we hope to find this patched version in the repos? And
for which Ubuntu versions?

Thanks,

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

@Sancho: It will be available in the first development version of Ubuntu 10.10. It's unlikely that it will be fixed for 10.04, too, since it's a feature request and nothing "important".

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

Thanks for the info. I'm on Karmic and so is there any way I can
find any non-canonical repo with the patched version?

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

At the moment the change is not even released upstream (just 4 days old in git master), but if you know how to patch packages, you could apply the 7 commits at http://git.gnome.org/browse/nautilus/log/, beginning with the one from Marcus Carlson ("Adds Trashed On and Original Location as columns in List View") to the one from Cosimo Cecchi ("Hide the 'Arrange by Trash Time' option if we're not in the trash.").

Revision history for this message
Sancho Panza (prashanthr-deactivatedaccount-deactivatedaccount) wrote :

I had tried that before and ran is problems with dependencies and stuff, and I know to use
the CLI for basic stuffs only. I guess I'll have to wait till someone packages it into some
repo. Its been a looooong time I've been waiting for this patch.

Thanks again,

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:2.31.6-0ubuntu1

---------------
nautilus (1:2.31.6-0ubuntu1) maverick; urgency=low

  * New upstream version:
    - This release is based on 2.30.1
    - Expand and collapse folders with +/- in list view
    - Rename .desktop files also change their name on disk
    - Support overriding .gnome2 directory
    - Save passwords for the session by default
    - Remove deleted folders from the pathbar (lp: #19069)
    - Replace libunique with GApplication
    - Don't show 'File Browser' anymore in the window title
    - Port to GDBus
    - Change the default order for files in special directories (lp: #404150)
    - Support relative paths in the location entry/dialog.
    - Use folder icons as window icons in browser and spatial mode (lp: #43608)
    - Add 'Trashed On' and 'Original Location' columns in the trash
      (lp: #301552)
    - Implement transparent icons for cut files (lp: #194213)
    - Change default thumbnail size
    - Fix a number of bugs related to bookmarks (lp: #534043)
    - New dialog to handle conflicts within file copy/move operations
      (lp: #136702, #263338)
    - New button in the trashbar to restore selected items (lp: #553600)
    - Use async I/O to save .gtk-bookmarks
    - Fix a number of issues related to DnD in the places sidebar (lp: #73031)
    - New icon for audio preview
    - Don't show Unmount when showing Eject/Safe Removal
    - Bump libnautilus-extension API version
    - Fix a number of UI glitches
    - Translation updates
    - Eat Control + v to not enable type ahead (lp: #52131)
  * Updated .install files for the gir
  * debian/control.in:
    - build-depends on dh-autoreconf, gobject-introspection and required gir
    - don't use libunique and libdbus-glib
    - list the new gir1.0-nautilus-2.0 binary
    - updated the gtk and glib requirements
  * debian/patches/16_hide_unmount.patch,
    debian/patches/git_browser_title_cleaning.patch,
    debian/patches/git_clean_by_name_rename.patch,
    debian/patches/git_correct_delay_logic.patch,
    debian/patches/git_correct_display_name.patch,
    debian/patches/git_correctly_set_default.patch,
    debian/patches/git_ctrlq_close.patch,
    debian/patches/git_default_thumbnails.patch,
    debian/patches/git_double_click_launcher.patch,
    debian/patches/git_no_double_browse_entry.patch,
    debian/patches/git_store_session_passwords.patch,
    debian/patches/git_typo_fix.patch:
    - the changes are in the new version
  * debian/rules:
    - call dh_girepository
    - use dh-autoreconf
 -- Sebastien Bacher <email address hidden> Thu, 12 Aug 2010 16:41:04 +0200

Changed in nautilus (Ubuntu):
status: Fix Committed → Fix Released
Changed in nautilus:
importance: Unknown → Wishlist
Revision history for this message
egasimus (fallenblood) wrote :

Lol, almost 2 years. Talk about hive mind efficiency.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.