Quick Filter locks up, crashes on large folders in 128esr
Categories
(Thunderbird :: Search, defect)
Tracking
(Not tracked)
People
(Reporter: jberkus, Unassigned)
References
Details
(Keywords: perf)
With the upgrade to 128esr, Quick Filter has become unusable on folders with large numbers of messages. Typing search text into the quick filter box often causes Thunderbird to become unresponsive, and the system application crash box to pop up. Because of this unresponsiveness, one can't search because one can't ever type the full search term into the box. This is even just searching Sender and Subject, with search on Body turned off.
These problems did not occur with 115.
OS: Linux (BlueFin)
Thunderbird: 128esr Flatpak
Mail Type: IMAP
Steps to reproduce:
- Install 128esr
- Subscribe to an IMAP folder with thousands of messages
- Open Quick filter
- Try to search on Quick Filter box
- Get "This application has become unresponsive, do you want to force quit?" dialog.
Reporter | ||
Comment 1•4 months ago
|
||
Part of the problem appears to be (I can't verify this) that Quick Filter now starts immediately searching on the first character typed, instead of waiting a few seconds for the user to finish input. And the number of messages that contain the letter "m", for example, is going to be huge.
Reporter | ||
Comment 2•4 months ago
|
||
Came up with a way to verify the above diagnosis: if I copy & paste a search term into the box, search works, although I still get a crash warning.
Comment 3•4 months ago
|
||
Bug 1849650 will give you 100ms per character before attempting to present results. Version 115 uses the same delay.
What were your results with Help > Troubleshoot Mode?
Subscribe to an IMAP folder with thousands of messages
- How many?
- Which message list view - card or table
- Which layout?
- What exact sort criteria.
Thanks
Reporter | ||
Comment 4•4 months ago
|
||
- Problem still occurs in Troubleshoot Mode
- One folder I tested it on has 50,000 messages; the other has 20,000. I use my messages as a contact database, which is why I rely heavily on Quick Filter.
- Classic View, Default Density
- Sort is by timestamp, latest timestamp at the bottom (and focus there too).
Reporter | ||
Comment 5•4 months ago
|
||
One more note: some of these mailboxes are Pobox, so they still have actual folders and not Gmail's "virtual folders".
I've been testing this on other folders with fewer messages to figure out where the threshold is. This has proven hard to test because I've now encountered another bug, which may be related: https://bugzilla.mozilla.org/show_bug.cgi?id=1908233
Comment 6•4 months ago
|
||
(In reply to [:jberkus] Josh Berkus from comment #4)
- Sort is by timestamp, latest timestamp at the bottom (and focus there too).
We don't have a field named timestamp. We have date, received, order received.
Reporter | ||
Comment 7•4 months ago
|
||
The field is called "Date", but it actually contains a timestamp.
Reporter | ||
Comment 8•4 months ago
|
||
The problem is actually being caused by 1908233. As such, closing this bug because once TBKeys-lite is uninstalled the problem goes away.
Description
•