Closed Bug 265014 Opened 20 years ago Closed 20 years ago

Allow creation of virtual folders that search offline instead of online

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird0.9

People

(Reporter: mscott, Assigned: mscott)

References

Details

Attachments

(2 files, 1 obsolete file)

We should have a checkbox in the virtual folder UI that allows you to specify if
the saved search should just search locally (results in faster loading but less
accurate results for online folders) or online (most accurate results but longer
loading times).
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.9
Attached patch the fix (obsolete) — Splinter Review
Comment on attachment 162554 [details] [diff] [review]
the fix

David, is this the kind of thing you had in mind? Note the changes to
nMsgAccountManager to ensure that the new attribute gets written out to
virtualFolders.dat. I didn't bump the version number for this since I didn't
think many folks would be taking advantage of the VFolders yet. And if they
did, this attribute would just be ignored by older builds when they parse the
file. 

Also the wordage for the check box needs to be improved. Should we be fancy and
disable the checkbox if you choose folders that aren't online folders to
search? i.e. RSS & local/pop folders?
Attachment #162554 - Flags: superreview?(bienvenu)
Comment on attachment 162554 [details] [diff] [review]
the fix

that looks good - it's fine to ignore that setting for existing VF's, I think. 

slightly better wording might be :

(Gives up-to-date results for IMAP and News folders but increases time to open
the folder)

I think disabling that box for pop3 and other non-online servers would help
avoid confusion for pop3 users...
Attachment #162554 - Flags: superreview?(bienvenu) → superreview+
Attachment #162554 - Attachment is obsolete: true
Comment on attachment 162600 [details] [diff] [review]
updated fix to disable the checkbox for local folders

How about this version David. Same patch except we disable/enable the checkbox
appropriately. And I changed the wording to match your suggestion.
Attachment #162600 - Flags: superreview?(bienvenu)
Attachment #162600 - Flags: superreview?(bienvenu) → superreview+
fixed branch and trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The most recent checkin hosed the mail window.

JavaScript error: chrome://messenger/content/commandglue.js, line 1057: missing
{ before function body

there's an extra ')' before the {
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I can't seem to reproduce that JS error. The dialog is working for me. I'll look
at the code again.
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
I am not able to reproduce the error referenced in Comment 8 either.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: