Closed Bug 1853593 Opened 2 years ago Closed 2 years ago

Cursor position of message list not remembered when deselecting and reselecting

Categories

(Thunderbird :: Folder and Message Lists, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mail, Unassigned)

Details

(Whiteboard: [closeme 2024-01-15])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

I have three POP3 mail accounts, so there are three inboxes. One of these has more than 3000 mails. If I choose the last mail in this list and then jump to the inbox of one of the other accounts and back, I am suddenly placed at a point higher up on the list and will have to scroll down to the mail that was selected, when I left the list.
Sometimes this doesn't happen (that is, after I have selected a mail), but if I close Thunderbird and start it, it seems to happen every time.
I use the setup where the mail headers are placed above the mail content window.
I am not sure whether this is happening with the other inboxes as well. They contain far fewer mails.

Actual results:

When reselecting the inbox, I was placed higher up the list of mail headers.

Expected results:

I should have returned to the list at the place where I left it, that is, at the last selected mail.

I tested a little more, and this behaviour also appears, when I just select any other folder (for instance the sent folder for the same account where I notice the problem) and then return to the inbox.

IMPORTANT: The jump to the wrong point on the list ONLY seems to happen, if no mail was selected on the inbox message list. If I run Thunderbird, select any mail on the inbox list, jump to another list and back, I am correctly returned to the mail I selected. If, however, I run Thunderbird, do not select any mail on the list, jump to another list and back, I am sent to a seemingly random point on the list.

Thunderbird needs to REMEMBER the last selected mail from the PREVIOUS session, and it must jump to this mail, when the inbox is selected (of course only until a new mail is selected).

Right now it appears that Thunderbird does not retain information of the last selected mail when the program is closed, and so it doesn't know which place on the list to display, when the program is run again.

Jakob, are you still seeing this issue when using a newer version?

Component: Untriaged → Folder and Message Lists
Flags: needinfo?(mail)
Whiteboard: [closeme 2024-01-15]

Thanks for asking.

I am currently running version 115.6.0 and I have not seen the issue for some time (at least a couple of weeks, perhaps longer - you only tend to notice errors when they occur).

I also just tried to reproduce the issue using my own steps, and Thunderbird displays the folders correctly now.

Flags: needinfo?(mail)

Thanks for the update

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.