[Users] CM 3.16 and Selection when entering a folder

Paul Rolland (=?UTF-8?B?44Od44O844Or44O744Ot44Op44Oz?=) rol at witbe.net
Tue Dec 19 20:39:02 CET 2017


Hello,

On Tue, 19 Dec 2017 13:00:10 +0100
Olivier Brunel <jjk at jjacky.com> wrote:

> 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.

Excellent presentation ! 

> 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...

I'm going to try this ASAP, your brilliant summary/presentation of the
situation looks really promising ;)

Rol - not signing Paul to avoid confusion with the "real Paul" ;)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20171219/7872cbc9/attachment.sig>


More information about the Users mailing list