Summary: | Capability to sort threads by most recent message | ||
---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Steven Robertson <steven> |
Component: | UI/Folder List | Assignee: | users |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bogdan, pierre-bugzilla, wuischke |
Priority: | P3 | ||
Version: | 2.9.2 | ||
Hardware: | PC | ||
OS: | Linux |
Description
Steven Robertson
2007-06-06 21:59:27 UTC
It's not done because it'd be much slower to load folders with such a mode. If speed is an issue, can't we get it as a configurable addition? Changes related to this bug have been committed. Please check latest CVS and update the bug accordingly. You can also get the patch from: http://www.colino.net/claws-mail/ 2007-07-02 [colin] 2.10.0cvs2 * src/folder.h * src/mainwindow.c * src/procmsg.h * src/summaryview.c Add View/Sort/by Thread date Fixes bug 1233, 'Capability to sort threads by most recent message' Patch in CVS. I could kiss you ;) Now all that is missing is to save the sort mode to disk: --- folder.c.orgi 2007-07-03 18:59:12.000000000 +0200 +++ folder.c 2007-07-03 19:00:13.000000000 +0200 @@ -573,6 +573,8 @@ item->sort_key = SORT_BY_TO; else if (!strcmp(attr->value, "locked")) item->sort_key = SORT_BY_LOCKED; + else if (!strcmp(attr->value, "thread_date")) + item->sort_key = SORT_BY_THREAD_DATE; } else if (!strcmp(attr->name, "sort_type")) { if (!strcmp(attr->value, "ascending")) item->sort_type = SORT_ASCENDING; @@ -598,7 +600,7 @@ static gchar *sort_key_str[] = {"none", "number", "size", "date", "from", "subject", "score", "label", "mark", "unread", "mime", "to", - "locked"}; + "locked", "thread_date"}; XMLTag *tag; gchar *value; Oops! Changes related to this bug have been committed. Please check latest CVS and update the bug accordingly. You can also get the patch from: http://www.colino.net/claws-mail/ 2007-07-03 [colin] 2.10.0cvs4 * src/folder.c * src/mainwindow.c Fix saving of sort mode for tags and thread date. Thanks to Pierre Ossman. Completes fix for bug 1233 I looked at bug 270 and now at this. The same WONTFIX statement. I understand you are concerned about the speed, but give the option to the user to choose between speed and convenience. I believe that sorting by tail instead by head will fix the problem and if you make this an option then people can choose what behaviour they want. If this is already available in the configuration pages I apologise for the blurb. Thanks. Hi Bogdan, In fact the status was wrong, it's implemented now, it is available from View/Sort/by Thread Date. HTH |