Closed Bug 270027 Opened 20 years ago Closed 20 years ago

Choose doesn't search the selected folder, if focus is in a different folder

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: bugzilla, Assigned: mscott)

Details

found using 2004111505-0.9 on linux fc2.

1. I started with focus on my Inbox folder. this an IMAP account where all other
folders (non-virtual ones) are subfolders under Inbox. however, this bug also
occurred when I started in/searched through my RSS account.

2. select File > New > Saved Search Folder

3. enter a name for the search (eg, foo-42). it's optional select a location for
"Create as a subfolder of": I kept the virtual folder within the same account,
but this bug occurred whether I chose the toplevel account, the Inbox, or a
subfolder as the parent.

4. click the Choose button to bring up the Select Folder(s) dialog. as expected,
I'm limited to only folders in the given account chosen under step 1.

5. select a folder *different* from where focus was in step 1. eg, I had focus
on the Inbox, so instead I selected the "bug-scrubinfo" subfolder, then clicked
OK to return to the New Saved Search Folder dialog.

6. I created a criterion which I knew would yield results: eg, I used "Subject
contains 'keyboard'"

7. clicked OK.

expected results: a virtual folder called "foo-42" is created, containing
results based on steps 5 and 6. in my case I expected six messages to appear in
the virtual folder.

actual results: the virtual folder "foo-42" was created, but it was empty --as
if no messages were found.

this is strange, since this works if I had started step 1 in the same folder
chosen in step 5. if this is a real limitation, then we should then limit the
choices provided in the Select Folder(s) dialog.
Target Milestone: --- → Thunderbird1.0
a really wacky variation on this: start with focus initially at the account
level in the folder pane. when I click on the resulting virtual folder, it
displays Account Central!
(In reply to comment #1)
> a really wacky variation on this: start with focus initially at the account
> level in the folder pane. when I click on the resulting virtual folder, it
> displays Account Central!

even though I didn't get output from the js console from comment 0, I do so with
this variation:

Error: gDBView has no properties
Source File: chrome://messenger/content/commandglue.js
Line: 888
(In reply to comment #2) 
> even though I didn't get output from the js console from comment 0

I lie, the same JS error occurs. sorry for the confusion.
I just tried this out in the following scenarios:

* another tbird profile
* selecting multiple folders to search

and this still fails for me.

marcia doesn't see this problem on Mac. could someone check on Windows? I wonder
if this might be Linux-only...
also failed with a fresh, new tbird profile.
okay, there might be piloting error here on my part. I've been using a 3rd party
theme which didn't display the checkmark (actual selection) in the Select Folder
dialog. and when I failed with a new profile I might have forgotten to actually
tick the checkmark then.

rechecking again.
Target Milestone: Thunderbird1.0 → ---
pffft. I was forgetting that checkmark. that's what I get for using a 3rd party
theme that lacks features *and* forgetting about the extra step to tick the
checkmark. my bad.
Severity: major → normal
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.