Closed Bug 1620310 Opened 5 months ago Closed 4 months ago

At startup the focus is anywhere, set it on first new message of default account

Categories

(Thunderbird :: Folder and Message Lists, enhancement)

Desktop
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 76.0

People

(Reporter: aarnaud, Assigned: john)

References

(Regressed 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Hello,

As describe on Mozillazine [1] it seems that in the past Thunderbird placed the focus on first message of the inbox folder of the default account.

What is the current behavior:

  1. Start Thunderbird
    Result:
    The caret is anywhere

  2. Tab one time
    Result: The caret is on the current tab

What behavior I propose to have:

  1. Start Thunderbird

Result:
The focus is on the first message of the inbox folder of the default account.

Why I report this now and not before?
The reason is mainly because in older release (60 and 52) there were extension like Select Inbox for doing this and without new replacement my blind or keyboard-only users stay on older release.

Why is it important?
I think having the caret and Thunderbird opening a folder a predictable way will simplify the life of users.

What do you think of my proposal?

[1] http://kb.mozillazine.org/Show_Inbox_when_starting_Thunderbird

Best regards.

Out of habit I almost always close Thunderbird with the Inbox of my default account selected.

Not sure I would like it going to the first message in the Inbox of the default account. That message could be years old.

First new message in the account's Inbox would be great.

Component: Untriaged → Folder and Message Lists

First new message in the account's Inbox would be great.

I agree with you, it was I mean, yes.

Summary: At startup the focus is anywhere, set it on first message of default account → At startup the focus is anywhere, set it on first new message of default account

First new message in the account's Inbox would be great.

OK, after discussing I propose this:

  1. If the message are ordered by date, go to the latest message without verifying if it's read of not
  2. If it's ordered another way, go to the highest message

The reason why I prefer to propose is for reliability because often the last new message is the more recent but the last new message could years old too.

This commit revamps a little the Start Page option to also provide a way
to set the start location. Options are either latest location (like currently),
first message or first unread message.

Assignee: nobody → john
Status: NEW → ASSIGNED

When not showing start page (option unticked), at startup go to Inbox and focus
first or last message according to sorting direction.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d318ed3f2347
Provide a deterministic startup location when not showing start page r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 76.0
Attachment #9132244 - Attachment is obsolete: true

Consistently selecting a message and focussing the list of messages I understand, but this means (when the pref is not set) Thunderbird always opens to the inbox, instead of the most recently used folder. Is that intended? And if so, why is it okay to be in the most recently used folder if the pref is set?

Flags: needinfo?(mkmelin+mozilla)
Flags: needinfo?(john)

(In reply to Geoff Lankow (:darktrojan) from comment #7)

Consistently selecting a message and focussing the list of messages I understand, but this means (when the pref is not set) Thunderbird always opens to the inbox, instead of the most recently used folder. Is that intended? And if so, why is it okay to be in the most recently used folder if the pref is set?

Our goal was to offer a predictable way to the end-user, especially blind who want to be sure who they'll be at startup. Personally I never remember where I'm at TB closing and I don't want to open it somewhere.

If we want something different we need to add an option to let the user decide what he wants but Magnus refuses to add a new option.

Best regards.

Flags: needinfo?(john)

The idea was that e.g. blind users don't want the start page because they do not want that extra information read, which sounds like the same group that would want a predictable location set.
But perhaps it's an oversimplification. Open to ideas, but yes, I'd like not to have at least a lot of ui prefs for something like this.

Flags: needinfo?(mkmelin+mozilla)

(In reply to Magnus Melin [:mkmelin] from comment #9)

The idea was that e.g. blind users don't want the start page because they do not want that extra information read, which sounds like the same group that would want a predictable location set.
But perhaps it's an oversimplification. Open to ideas, but yes, I'd like not to have at least a lot of ui prefs for something like this.

Probably we could just add a new checkbox "open in previously opened folder".

(In reply to Alex ARNAUD from comment #10)

Probably we could just add a new checkbox "open in previously opened folder".

That's all it would take. Then opening the inbox at start-up (or not) can be made independent of showing the start page (or not), which is counter-intuitive.

Regressions: 1631192
See Also: → 1629522
You need to log in before you can comment on or make changes to this bug.