Closed Bug 1758025 Opened 3 years ago Closed 3 years ago

quick filter begins searching before I have fully typed the search term, which causes a performance problem.

Categories

(Thunderbird :: Filters, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 944942

People

(Reporter: steevo, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0

Steps to reproduce:

When I use the search bar, it begins searching when I type the first character, before I have finished typing the search term. So I have typed an F and it's finding all the messages with an F in the body, when what I wanted was to find messages with a from: line that says "Frank"..

This causes a serious performance problem. The focus goes away and no more characters can be typed and clicking the Sender, recipients, subject or body has no effect. Focus has gone elsewhere.

Actual results:

Thunderbird begins searching with a fragment of the search term.

Expected results:

It ought not begin until the complete search term is entered. And a search button is clicked. And there should be a way to stop searching since such searching takes so much from the system. Maybe there should be a background index to improve performance?

The proposed fix for this is to start the search when a search button is pressed, after search terms and fields are selected. And maybe a button to stop search would be advisable.

Thunderbird does not have a search bar. There is a search field. And there is a function that does "finding" incrementally which is filter these messages (which is seen when that field is empty), not search. aka Quick Filter Bar https://support.mozilla.org/en-US/kb/quick-filter-toolbar

You might disable body searching when you have no desire to filter on the message body, which as you have found has a performance penalty. Its performance will not be changed.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Component: Untriaged → Filters
Resolution: --- → DUPLICATE
Summary: Search Bar begins searching before I have fully typed the search term, which causes a performance problem. → quick filter begins searching before I have fully typed the search term, which causes a performance problem.

Wayne,
You can't disable the body searching, because if you have used it that remains selected, so the next time you type anything in that box it gives you no option to disable the body searching. And you can't click to deselect it because the focus is gone. Sometimes in frustration I kill thunderbird with task manager. Maybe if the field selections were there all the time. But clearly it's ridiculous searching when the search term is not done yet.

Even Eudora in 1995 worked lightning fast. Remember the X1 indexer?
This really ought to be fixed.
This is an awful performance issue.

As to that "duplicate," that is eight years old. Clearly no one but me and the other reporter care about this, or bothered to report it. The rest just don't use Thunderbird. Hardly the goal here.

(In reply to Steve from comment #2)

Wayne,
You can't disable the body searching, because if you have used it that remains selected, so the next time you type anything in that box it gives you no option to disable the body searching. And you can't click to deselect it because the focus is gone. Sometimes in frustration I kill thunderbird with task manager. Maybe if the field selections were there all the time. But clearly it's ridiculous searching when the search term is not done yet.

good points. your alternative is, whenever you do use body filter, deselected it before closing the filter bar.

or, never use body quick filter and instead use global search for body searches.

for the folder you are filtering, how many messages, and what is the size of the file and the msf file according to the OS? And what AV do yu run?

Flags: needinfo?(steevo)

If it were only possible to deselect any parts of the search.
But there is not until you begin typing the search term.
And then focus goes away, sometimes for 10, 15 minutes. It's an outrageous performance problem.
This is an architecture issue, a decision someone made years ago and it has never been fixed.
Well, I am bringing it forth so it can eventually be addressed.

There needs to be an indexing service to facilitate this. Which Eudora had 20 years ago. Hardly progress.

I have archived some, so I have 56,000 messages in the folder.
I use Microsoft Defender, Windows Security on Windows 10.
I haven't found the msf files of my main email yet. I looked in troubleshooting information.

(In reply to Steve from comment #5)

If it were only possible to deselect any parts of the search.
But there is not until you begin typing the search term.

You've previously stated this. I very well understand that part of the issue. No need to repeat. But I did give you an alternative.

And then focus goes away, sometimes for 10, 15 minutes. It's an outrageous performance problem.

This is not normal. Therefore, Absent hard data about your folders, I would suspect something unique to your profile or computer system is causing this - because I have no such problem with large folders on both my Mac and Windows system. UI is responsive throughout the filter process.

  1. right click on the folder in thunderbird and pick properties. how many message, and what is "size on disk"?
  2. per Windows task manager, during the filter process - a) on details tab, how much memory is being used by Thunderbird, b) performance tab, how much memory total is used, c) how much memory is installed on the computer
  3. what are the general characteristics of your computer - disk type, age, processor, etc

55,947 messages
5.4 GB
The computer is an I5 with 12 gb of ram.
Regular 500 gb hdd. Dell Optiplex 390.

I haven't had performance problems on this system.

Flags: needinfo?(steevo)
You need to log in before you can comment on or make changes to this bug.