GNOME Bugzilla – Bug 321671
Reorder by date accessed doesn't works
Last modified: 2005-12-16 21:49:37 UTC
Please describe the problem: When you try to reorder a file or a directory list in nautilus, clicking on the date accessed column header doesn't reorder the file in the right order. This bugs seems only for the accessed date column ascendent and discendent. I tested also 2.10.1 version and has this bug. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Yes Other information:
I can reproduce the bug on nautilus 2.12.1
Thanks for your bug. What version of glib do you use? Could you provide an example of dates and how they are ordered/a screenshot? It works fine for me
Created attachment 54896 [details] [review] Fix this bug. It was generated against nautilus 2.10.1
Comment on attachment 54896 [details] [review] Fix this bug. It was generated against nautilus 2.10.1 i have corrected this patch and submitted a new one
Created attachment 54898 [details] [review] Fix this bug. Diff was generated against nautilus 2.10.1
reopening
Confirming. Maybe you could also submit this patch to the nautilus mailing list [1] for review? [1] http://mail.gnome.org/mailman/listinfo/nautilus-list
Hey, thanks! Strange that no one noticed it yet. Anyway, your patch reverses the sort order of mtime vs. atime. So I refactored the time comparison logic to support atime too and committed it: 2005-12-16 Martin Wehner <martin.wehner@gmail.com> * libnautilus-private/nautilus-file.c: (get_time), (compare_by_time), (nautilus_file_compare_for_sort), (nautilus_file_compare_for_sort_by_attribute): Support comparison by accessed time. Fixes #321671. * libnautilus-private/nautilus-file.h: Add atime sort type. Based on a patch from bluefuture@email.it