Bug 148745 - Date sort column: "Order of arrival" incorrectly labelled
Summary: Date sort column: "Order of arrival" incorrectly labelled
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.6
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-11 16:16 UTC by Mats Ahlgren
Modified: 2007-10-19 19:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mats Ahlgren 2007-08-11 16:16:58 UTC
Version:           1.9.6 (using KDE 3.5.6 "release 64.1" , openSUSE )
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.20-rt8-default

Reproduction:

Click 4 times on the Date column to change sorting order:
click #1 - sorts descending, label = "Date"
click #2 - sorts ascending, label = "Date"
click #3 - sorts descending, label = "Date (Order of Arrival)"
click #4 - sorts ascending, label = "Date (Order of Arrival)"
Comment 1 Mats Ahlgren 2007-08-11 16:17:35 UTC
addendum: this pattern cycles with a period of 4 clicks
Comment 2 Mats Ahlgren 2007-08-11 16:23:20 UTC
Addendum: states #3 and 4 treat all spam as having date=-infinity; states #1 and # behave normally
Comment 3 Bram Schoenmakers 2007-08-11 16:41:35 UTC
Can you clarify a bit more please, I don't see exactly what you mean.
Comment 4 torovefu 2007-10-18 19:27:41 UTC
This bug still exists in KDE 3.5.8, Kubuntu 7.10.

I open KMail and I see descending order, column header is "Date". Then I click on "Date" column, now it sorts ascending. After that I click again on "Date" column, and the sorting order changes to descending but the label of the column changes to "Order of Arrival" and it should not change at all. Now I click again on the column header and the sort order changes but I still see the "Order of Arrival" header. And when I click the 5th time everything begins again: The column header changes to "Date" etc.

Quite annoying bug since I am using the Hungarian version of KDE and the string "Order of Arrival" is not localized while "Date" is so in my case the language of the column header also changes.

I hope I could help you.
Comment 5 Maciej Pilichowski 2007-10-18 19:43:10 UTC
I still cannot see where the bug is. The date column has 4 sorting modes -- it is a design, not a bug (and I personally like sorting by date of arrival).

Or this report is about spam date mentioned in #2.
Comment 6 Mats Ahlgren 2007-10-19 04:27:26 UTC
The bug isn't about the date column having 4 sorting modes (though I personally think that's less useful that the ability to sort the sorting modes).

The bug is that the sorting modes are improperly labeled, i.e. "ascending" is used as a label for both increasing and decreasing order.
Comment 7 torovefu 2007-10-19 07:44:32 UTC
I managed to find the proper section in the manual which states:

"Similarly, if you click on the Date column, you can toggle sorting between Date ascending/descending and Date (Order of Arrival) ascending/descending."

So it really works this way by design. This is a bit confusing at first sight (especially that not both strings are translated, but that is a localization issue).

Anyway it seem to work properly now I know how it should.
Thank you for your help.
Comment 8 Mats Ahlgren 2007-10-19 19:18:30 UTC
Oh, I see... I personally find this feature very unexpected, but in retrospect it seems self-consistent... Marked as resolved.

I would however recommend that this be implemented simply with another type of column, "Date (Order of Arrival)" instead of a column with unexpected non-standard functionality. Notably, the feature will be more discoverable if it is moved to its own column.