Closed Bug 220656 Opened 21 years ago Closed 20 years ago

Changing folder doesn't reset the View drop down list to All

Categories

(Thunderbird :: Mail Window Front End, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.9

People

(Reporter: pierre.antonini, Assigned: mscott)

References

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.0.3705)
Build Identifier: Mozilla Thunderbird 0.3 (20030923)

When changing from one folder to another, the View drop down list should be 
reset to display all messages of the newly selected folder.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
IMHO, the behavior should be one of two things, a) maintain a View state for
each folder, or b) maintain the same view for all folders, possibly across
Thunderbird sessions.

Resetting the view state each time you move to a new folder and never saving the
last state the folder was in, seems counter-intuitive.
I'd like to suggest a view-per-folder policy. This is what OE does and it's,
IMHO, far more usefull than a 'global' view.
I'll flag this for 0.9. David and I are now convinced we should just save this
value per folder....
Target Milestone: --- → Thunderbird0.9
Attached patch the fixSplinter Review
remember the view as a per folder setting
Comment on attachment 163760 [details] [diff] [review]
the fix

1) It's unclear from the diff, but the changes to msgMail3PaneWindow.js are
inside the folder loaded notification.

2) When porting this patch to the trunk, I need to account for the
getUint32Property API changes.

3) When porting to the trunk I'll also change mailnews\msgMail3PaneWindow.js

4) We aren't loading the remembered view correctly for a virtual folder. But we
didn't do it correctly before this patch either so I'll figure that out
separately from this bug.
Attachment #163760 - Flags: superreview?(bienvenu)
Attachment #163760 - Flags: superreview?(bienvenu) → superreview+
Status: NEW → ASSIGNED
Keywords: fixed-aviary1.0
fixed branch and trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Two nits:
* If you use -p for your diffs it will add (in this case) var folderListener = {
at the end of the @@ line that begins the diff.
* Save yourself a parseInt and let XPConnect do it for you.
*** Bug 239783 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: