Closed Bug 252150 Opened 21 years ago Closed 21 years ago

shouldn't show deferred accounts in search dialog

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nicolas, Assigned: Bienvenu)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 When using the new Thunderbird builds with the global inbox, the list of folders to seach in contains folders that do not exist. For example, if all acount resolves to the "Local Folders" folder (i.e., if each account does *not* have his own folder), each account is still listed, with his "sent", "draft"... subfolders. And this is the case even when these folders actually do not exist. Reproducible: Always Steps to Reproduce: 1. get the Thunderbird build with the global inbox 2. create 2 accounts 3. Tools -> Account Settings -> account1 - > Server settings -> advanced: click on "Global inbox". 4. Tools -> Account Settings -> account1 - > Server settings -> advanced: click on "Global inbox". 5. organize your folders so that you have only "Local folders", and no folder for account1 and account2. 6. right click on a folder -> search messages Actual Results: the drop down menu on top of the search windows displays "account1 - inbox, drafts, sent...", "acount2 - inbox, drafts, sent...", "Local folders - inbox, drafts, sent...", even though the account1 and account2 folders do not exists. Expected Results: only existing folders should be displayed.
I can confim this. It also shows up non-existing folders in the junk mail filter dialog.
Using version 0.8 (20040902) by the way.
David, does it make sense for us to hide the hidden folders for folder menu lists like the search dialog just like we do for the folder pane?
yes, we should hide them. I can look into that. They do exist, and can contain messages, but we'll not show them to you, so we should just pretend they don't exist.
cool, you might find: msgFolderPickerOverlay.xul to be of help. I think all of our folder list widgets get stuff from this overlay.
I'm not sure about the junk mail dialog, however - those accounts do exist, and we might use the per-account junk mail controls, but I think we use the local folders junk controls. We don't show the deferred accounts as possible move targets, which is correct.
Summary: global inbox: "folders to searh in" badly displayed → shouldn't show deferred accounts in search dialog
Attached patch proposed fixSplinter Review
why change xul when I can change c++? :-) We want deferred servers to not be searchable in general...
Assignee: mscott → bienvenu
Status: UNCONFIRMED → ASSIGNED
Attachment #157836 - Flags: superreview?(mscott)
Comment on attachment 157836 [details] [diff] [review] proposed fix Let's put this on aviary too
Attachment #157836 - Flags: superreview?(mscott) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: