Closed Bug 278971 Opened 20 years ago Closed 14 years ago

Remember last selected message doesn't work properly w/ MailView active

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: joerg, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0

Remembering the last selected message doesn't work properly when used in
conjunction with additional filter (from the drop-down list). In particular, no
message is selected when switching back to a folder.

Reproducible: Always

Steps to Reproduce:
- Activate "remember last selected message" as well as a drop-down filter like
"last five days".
- Select message X in your inbox. It is displayed in the content window.
- Switch to a different folder and select and read message Y.
- Afterwards, switch back to the inbox.

Actual Results:  
No message is selected in the inbox, and nothing is shown in the content window.
The headers of message X are displayed in the content window, though.


Expected Results:  
The last selected message should have been selected again. Both its headers and
its text should have been displayed in the content area.

I think this should show a more consistent behavior. In particular, if the last
selected message can't be found for some reason (i.e. due to changed filters),
the nearest existing message should be selected instead.
I'm seeing even odder behavior:  With the MailView set for the Inbox, when you 
first switch to the other folder, no message is displayed in the message pane.  
Select a message here.  Switch back to Inbox, the envelope shows the headers but 
no message.  Also: no message is shown selected in the Thread Pane.

Then: switching to the other folder again, there is no change in the display of 
that folder -- it shows the same envelope as was seen at the Inbox.  Again: no 
message selected in thread pane.

Switch back: now the message pane updates to show the entire selected message in 
the Inbox, but still no selection in thread pane.  Switch to other folder: no 
change.  Switch back to Inbox *again*: redraws to show empty message pane but 
envelope filled in for selected message.

If both folders have a MailView active, tho, then the entire message pane is 
cleared on folder-select, for both folders.

Reproduced with Moz 1.8a6-0105, TB 1.0, Win2K.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → Windows 2000
Summary: Remember last selected message doesn't work properly w/ additional filters → Remember last selected message doesn't work properly w/ MailView active
This should be fixed now by bug 363831.
Reporter, do you see this issues with a recent TB2 build?
With TB 2b1-1223, Win2K, I still see the symptom as originally reported.

The add'l symptoms of comment 1, when switching back and forth between folders, seem to be erratic at this point.  In particular, which mailview is selected seems to make a difference -- Last 5 Days causes problems, filtering on a tag doesn't seem to.
The code for selecting/scrolling on entering a folder is weird anyway and needs cleanup, I filed bug 365049 for SM on that.
QA Contact: front-end
(In reply to comment #4)
> The code for selecting/scrolling on entering a folder is weird anyway and needs
> cleanup, I filed bug 365049 for SM on that.

Karsten, 365049 hasn't fully affected the problems of this bug. Does your patches there need to be adapted for Thunderbird?  Does anything also need to be taken from bug 363831?


bumping from minor>major, as this i a major usability problem to effectivly using views
Blocks: 296407
Severity: minor → major
Assignee: mscott → nobody
Flags: wanted-thunderbird3?
does this work for you?

this works for me with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US;
rv:1.9.2.2pre) Gecko/20100302 Lanikai/3.1b1
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Flags: wanted-thunderbird3?
You need to log in before you can comment on or make changes to this bug.