Bug 3818 - On Mailbox with various folders with unread mail "next unread" jumps to next folder with unread mail
Summary: On Mailbox with various folders with unread mail "next unread" jumps to next ...
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.15.0
Hardware: PC Windows 7
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2017-04-28 13:16 UTC by tschweikle
Modified: 2017-05-03 12:56 UTC (History)
1 user (show)

See Also:


Attachments

Description tschweikle 2017-04-28 13:16:18 UTC
* Install Claws mail oder upgrade to 3.15.0.
* Configure your mailbox

Selecting "next unread" will jump to next unread mail.
Selecting "next unread" a second time it will jump to next unread mail in the next folder, ignoring unread mail in the one you came from.
Selecting "next unread" again, again jumps to next unread in the next folder. At the end it starts all over.

I'd awaited to select "next unread" to jump to next unread within the same folder, until no unread mail leftm then jumping to next unread in next folder.

I found this with version 3.15.0 on Windows (32- and 64-bit) and Linux (Ubuntu 17.04, 64-bit).
Comment 1 Paul 2017-04-28 13:26:43 UTC
'next' is next, 'previous' is previous.
Comment 2 tschweikle 2017-05-02 15:59:53 UTC
You did not understand what I was writing?!

Following:
- three folders with unread mail. I'll call them A,B,C

Now:
A -- Unread 1
     Unread 2
     Unread 3

B -- Unread 1
     Unread 2
     Unread 3

C -- Unread 1
     Unread 2
     Unread 3

First time pressing "next unread"

A -- read 1
     unread 2
     unread 3

B -- unread 1
     unread 2
     unread 3

C -- unread 1
     unread 2
     unread 3

Second time pressing "next unread"

A -- read 1
     unread 2
     unread 3

B -- read 1
     unread 2
     unread 3

C -- unread 1
     unread 2
     unread 3

Third time pressing "next unread"

A -- read 1
     unread 2
     unread 3

B -- read 1
     unread 2
     unread 3

C -- read 1
     unread 2
     unread 3

Fourth time pressing "next unread"

A -- read 1
     read 2
     unread 3

B -- read 1
     unread 2
     unread 3

C -- read 1
     unread 2
     unread 3

Fifth time pressing "next unread"

A -- read 1
     read 2
     unread 3

B -- read 1
     read 2
     unread 3

C -- read 1
     unread 2
     unread 3

...


Next is next. But I'd have had the intention going thru unread mail in folder A, then B, then C, not A1, B1, C1, A2, B2, C2, A3, B3, C3.
Comment 3 Paul 2017-05-02 16:10:24 UTC
When you say 'Selecting "next unread" will jump to next unread mail.' in comment #1, what menu item is it that you are a "selecting"
Comment 4 Olivier Brunel 2017-05-02 16:50:07 UTC
Any chance you're sorting descending? Because then I would argue that 'next' is previous (by way of the infamous "sort order awareness"), and since there's no previous unread mail claws then continues to another folder...

Hence my proposal[1] for an option to disable such "awareness" some time ago...

[1] http://lists.claws-mail.org/pipermail/users/2017-March/018931.html
Comment 5 tschweikle 2017-05-03 10:19:40 UTC
Menu-item selected: "Ansicht -> Gehe zu ... -> Nächste ungelesene Nachricht" (View -> Go to ... -> Next unread message")

And as one stated: Sort order: by date, descending

It is right:
setting sort order to "ascending" makes it behave as i am awaiting: going through all unread messages of one folder, then, after none are left going to the next folder with unread messages, starting at the first unread message (the oldest in this case).

setting sort order to "descending" makes it behave as I never would think of: it jumps to the latest message in sort order, not the oldest unread, then I have to use "previous unread message" to jump to the next message, telling me no unread messages are left if I reach the last unread message within this folder and no other folder upwards has unread messages. To move to the next folder with unread messages I have to use "next unread message", within the folder I have to switch to "previous unread message" to scan through all messages within this folder.

In my opinion "next unread message" should behave intuitively in all cases:
* sort order "ascending": going to the top unread message in list, descending downward until no more unread messages are left, then continuing with the next folder in folder pane with unread messages.
* sort order "descending": going to the last unread message in list, ascending upward until no more unread messages are left, then continuing with the next folder in folder pane with unread messages.

For "previous unread message" the same:
* sort order "ascending": going to the last unread message in list, ascending upward until no more unread messages are left, then continuing with the previous folder in folder pane with unread messages.
* sort order "descending": going to the top unread message in list, descending downward until no more unread messages are left, then continuing with the previous folder in folder pane with unread messages.

In short:
- "next" in all cases means "next", as you would expect it.
- "previous" in all cases means "previous", as you would expect it.
regardless of displaying lists sorted "ascending" or "descending".

As it is now, "next" and "previous" change meaning if you change sort order, because "next" doesn't do what would be correct in such cases: jump to the downmost message and not to the top message. As does "previous": jump to the downmost message, instead to the top one if sort order is descending.

This could be overcome, if not using displaylist, but the sorted list to find the "next" or "previous" unread messages.
Comment 6 tschweikle 2017-05-03 10:22:21 UTC
BTW: "previous unread message" doesn't jump to the previous folder, if no more unread messages are in the current folder. "next unread message" does jump to the next folder if no more unread messages are in the current folder.
Comment 7 Paul 2017-05-03 12:56:50 UTC
(In reply to comment #5)
> setting sort order to "descending" makes it behave as I never would think
> of: it jumps to the latest message in sort order, not the oldest unread,
> then I have to use "previous unread message" to jump to the next message,

That's been fixed in GIT since the last release.

Note You need to log in before you can comment on or make changes to this bug.