[Users] CM 3.16 and Selection when entering a folder
Olivier Brunel
jjk at jjacky.com
Tue Dec 19 13:00:10 CET 2017
On Tue, 19 Dec 2017 09:13:37 +0000
Paul <claws at thewildbeast.co.uk> wrote:
> On Tue, 19 Dec 2017 09:58:49 +0100
> Slavko <linux at slavino.sk> wrote:
>
> > Do you really consider first message in my list as last? In our
> > country the lists are counted from top, not from bottom...
>
> That depends on the sort order... but perhaps not in your country?
> Your assumption is that 'first' means 'top'.
I don't think this is country-related actually, in a sorted list the
first item is the one on top. A sorted list goes from first to last,
from top to bottom.
So when sorting by date asc, the oldest item is first/on top, but when
sorting desc the newest item is first/on top. The issue here is that,
under the so-called "sort order awareness", claws ignores the sort
order (direction) to always have the oldest item be first. (We're all
assuming sorting by date here obviously, even though it could be
something else, in which case this "awareness" means nothing at all).
Specifically, when sorting desc it reverses first/last, prev/next,
etc This is literally what happens in the code.
I believe this was done for people who sort their messages list by date
desc, yet would like the select first/go next features to act on the
list sorted asc. This "sort order awareness" gives such results, so
long as you sort by date ofc.
But obviously not everyone who sorts by date desc want such behavior,
some would rather that first still means first, i.e. the item on top.
This is why I wrote a patch (attached) to add an option, so one could
disable this sort order awareness...
HTH,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-prefs-add-option-Ignore-sort-direction-Make-sort-ord.patch
Type: text/x-patch
Size: 19016 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20171219/fa795d8e/attachment.bin>
More information about the Users
mailing list