Closed
Bug 477131
Opened 16 years ago
Closed 16 years ago
type-ahead find researches the page on text input, even if no results are found
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
DUPLICATE
of bug 293889
People
(Reporter: vlad, Unassigned)
Details
(Keywords: perf)
(I'm almost positive a bug on this already exists, but I can't find it; dupeme if so.)
The type ahead find behaviour is pretty braindead, which leads to massive perf issues when searching some large pages. Specifically, the main problem is that if you are about to search for "apple", and as you're typing, "app" finds no hits, it will keep doing a search when you type "l" and "e", playing the no-search-found sound each time. This is a problem when searching on large pages (tinderbox logs are the canonical example, but it happens in other places).
The main issue to deal with (and I don't think the current search box really does) is searching a page that's still loading.. might mean introducing another UI state to the search box ("not found, but page is still loading") and then redoing the search after either some time or after the page finishes loading completely.
Comment 1•16 years ago
|
||
I think it might be easier to optimize this bug to deal with the easiest case which is to not re-search the entire page when it's loaded.
| Reporter | ||
Comment 2•16 years ago
|
||
Hm, I don't think that's a good plan; that's not at all the annoying case. The case that should be fixed first is that it searches on every character as you type, even if what you've typed already hasn't been found; it should just let yo keep typing, but it shouldn't search. Worst case, if the current input isn't found when the page finishes loading, it should do one final search.
| Reporter | ||
Updated•16 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Updated•16 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•