After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321671 - Reorder by date accessed doesn't works
Reorder by date accessed doesn't works
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: List View
2.13.x
Other All
: Normal normal
: 2.14.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-17 00:05 UTC by Stefano
Modified: 2005-12-16 21:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Fix this bug. It was generated against nautilus 2.10.1 (3.93 KB, patch)
2005-11-18 00:00 UTC, Stefano
none Details | Review
Fix this bug. Diff was generated against nautilus 2.10.1 (3.79 KB, patch)
2005-11-18 00:26 UTC, Stefano
none Details | Review

Description Stefano 2005-11-17 00:05:59 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:
Comment 1 Olivier Le Thanh Duong 2005-11-17 00:20:07 UTC
I can reproduce the bug on nautilus 2.12.1
Comment 2 Sebastien Bacher 2005-11-17 20:56:10 UTC
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
Comment 3 Stefano 2005-11-18 00:00:05 UTC
Created attachment 54896 [details] [review]
Fix this bug. It was generated against nautilus 2.10.1
Comment 4 Stefano 2005-11-18 00:24:20 UTC
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
Comment 5 Stefano 2005-11-18 00:26:21 UTC
Created attachment 54898 [details] [review]
Fix this bug.  Diff was generated against nautilus 2.10.1
Comment 6 Sebastien Bacher 2005-11-18 09:50:33 UTC
reopening
Comment 7 Christian Neumair 2005-11-18 15:46:22 UTC
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
Comment 8 Martin Wehner 2005-12-16 21:49:37 UTC
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