Going back to a previously opened folder can cause the selection to be restored twice
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 external file)
When returning to a folder that's already been opened in the current session, the selection is restored. In some cases this happens two or more times as the messages load (once for each dbViewWrapperListener.onMessagesLoaded call). But even if restoreSelection doesn't change the selection, it still results in a "select" event and the message pane reloads (again). This shouldn't happen.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/dcf9199935b8
If a message is displayed, refuse to load it again. r=aleca,welpy-cw
| Assignee | ||
Comment 3•1 year ago
|
||
This causes a memory leak by preventing the message pane from reloading after a folder compact. browser_messageCommandsOnMsgstore.js is failing with this leak. I'm going to back it out and try a different approach.
| Assignee | ||
Comment 4•1 year ago
|
||
Backed out:
https://hg.mozilla.org/comm-central/rev/6569a1d14682202b58b974ae2d481032d693dcb1
Let's try again.
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/eeceba60a888
When restoring the selection, don't say the selection changed if it didn't. r=welpy-cw,aleca
Description
•