Bug 3692 - Scrollbar should be at bottom if messages are sorted by date in ascending order
Summary: Scrollbar should be at bottom if messages are sorted by date in ascending order
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.14.1
Hardware: PC Windows 10
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2016-09-21 09:33 UTC by alt.rw-9o6f8p42
Modified: 2017-01-12 15:42 UTC (History)
0 users

See Also:


Attachments

Description alt.rw-9o6f8p42 2016-09-21 09:33:53 UTC
If mails are sorted by date in ascending order the newest mails will be at the bottom of the list.

However, the scrollbar will always be at the top of the folder by default and the previous position of the scrollbar is not restored after returning to a folder.

The scrollbar should be positioned at the bottom of a folder if the folder is sorted by date in ascending order.
Comment 1 alt.rw-9o6f8p42 2016-09-21 09:40:21 UTC
A current workaround is to have the the last message in the list selected if a folder is opened.
Comment 2 Andrej Kacian 2016-09-21 09:50:29 UTC
It's not a workaround, it's a solution. You get to choose where you want the cursor to be on opening a folder. The program can't presume to read your mind.
Comment 3 alt.rw-9o6f8p42 2017-01-03 17:40:32 UTC
(In reply to comment #2)
> It's not a workaround, it's a solution.

Nope.

> You get to choose where you want the cursor to be on opening a folder.

I do not get to chose to have the list scrolled down all the way without selecting a specific message.

Scrolling down in the list and selecting a message are two different things.

> The program can't presume to read your mind.

I am not asking for it to do that.

If one configures the newest messages to be at the bottom of the list, the default scrolling state should be all the way down in the list so that the newest messages are shown when opening a folder.

The standard selection of messages is a different thing. It should be possible to chose "none" and to still open the folder with the list scrolled down, so that one can see the newest messages immediately without selecting (opening, marking as read, ...) any of them.
Comment 4 wwp 2017-01-03 17:59:45 UTC
Please define what is ascending or descending?

Here, entering a folder scrolls to the top or to the bottom, following the sort order.
Comment 5 wwp 2017-01-03 18:04:36 UTC
(make sure "last email in the list" is set, or if your conception of ascending/descending differs from mine, "first email in the list", see Preferences/Summaries/Message list/Set default selection when entering a folder).
With this and the per-column sort method, you can do what you want.

And BTW, since a message is always selected in a folder (caution: "select" does not mandatorily mean "open", this depends on preferences), you cannot say that scrolling up/down in the list and selecting a message are different things.
Comment 6 alt.rw-9o6f8p42 2017-01-03 18:27:19 UTC
(In reply to comment #5)

> (make sure "last email in the list" is set, or if your conception of
> ascending/descending differs from mine, "first email in the list", see
> Preferences/Summaries/Message list/Set default selection when entering a
> folder).

I have already described and done that as a workaround.

> With this and the per-column sort method, you can do what you want.

Unfortunately I cannot. What I would like to see is that the list is scrolled down, but no message is selected.

When a message gets selected, my preference is to have it marked as read immediately. The workaround is bad because it will always lead to the last message in the list being marked as read.

> And BTW, since a message is always selected in a folder (caution: "select"
> does not mandatorily mean "open", this depends on preferences), you cannot
> say that scrolling up/down in the list and selecting a message are different
> things.

I can choose "None" as the default selection for opening a folder from the settings. No message is then selected. I can scroll down in the list without a message being selected. The scrolling state of the list can be changed independently from making a selection and in my opinion it should be all the way down in the list by default if newer messages are set to be sorted at the bottom of the list.
Comment 7 Paul 2017-01-03 18:36:52 UTC
(In reply to comment #6)

> in my opinion it should be all the
> way down in the list by default if newer messages are set to be sorted at
> the bottom of the list.

Yes, it's an opinion. Even if you sort with newer messages at the bottom that doesn't necessarily mean that all new messages are at the bottom. For example, with threading turned on, new messages could be anywhere in the tree.
Comment 8 alt.rw-9o6f8p42 2017-01-03 19:08:27 UTC
(In reply to comment #7)
> (In reply to comment #6)
> 
> > in my opinion it should be all the
> > way down in the list by default if newer messages are set to be sorted
> > at the bottom of the list.
> 
> Yes, it's an opinion.

No, it is not. If you chose no message to be selected by default when opening a folder, which is an available option, then the list will always be scrolled up and you will see the very top of the list, regardless of whether the newest messages are set to be at the top or bottom of the list.

There is no option to have the newest messages at the bottom, no message selected and the list scrolled down to the bottom when entering a folder.

It should be possible to have the list scrolled down by default without having to select a message to achieve that.

> Even if you sort with newer messages at the bottom
> that doesn't necessarily mean that all new messages are at the bottom. For
> example, with threading turned on, new messages could be anywhere in the
> tree.

Even if you use threading, messages are more likely to appear closer to the bottom of the list than to the top when the list is sorted by date and set to show newer messages at the bottom.

If in doubt, make it an option in the settings.
Comment 9 alt.rw-9o6f8p42 2017-01-03 22:59:30 UTC
(In reply to comment #8)
> (In reply to comment #7)

> > Yes, it's an opinion.
> 
> No, it is not.

I just noticed that for some reason I read "It's an option" and responded accordingly. Awkward...

You are absolutely right. It is an opinion, of course.

Not everyone will want to have the newest messages at the bottom, not everyone will want to have no messages selected by default, not everyone will want the list to be scrolled to the bottom, etc. That's what user settings are for; to meet different preferences.
Comment 10 alt.rw-9o6f8p42 2017-01-12 15:42:44 UTC
(In reply to comment #3)
> The standard selection of messages is a different thing.

Addendum regarding the selection of messages:

The MacOS mail.app, for example, remembers your last selection in a folder and will reselect that message the next time you open that folder. If a message is removed by another IMAP client and mail.app thus cannot reselect it, it simply does not select a message at all.

If message selection is handled like that, it makes sense to have the maill program scroll to the position of the reselected message. If no message is selected, it should scroll all the way up or down in the list, depending on whether newest messages are set to be shown at the bottom or the top.

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