Closed
Bug 414257
Opened 17 years ago
Closed 17 years ago
Stop searching for autocomplete results that won't be displayed
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 3 beta3
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
sspitzer
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
sspitzer
:
review+
beltzner
:
approval1.9b3+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
No need to spend cycles on something we won't use. See bug 414229 comment 4 for more details.
Assignee | ||
Comment 1•17 years ago
|
||
Build finished and too many results hit the max and stop as expected.
Assignee | ||
Comment 2•17 years ago
|
||
Actually.. just to be safe, check >= instead of ==.
Attachment #299615 -
Attachment is obsolete: true
Attachment #299616 -
Flags: review?(seth)
Attachment #299615 -
Flags: review?(seth)
Comment 3•17 years ago
|
||
Comment on attachment 299616 [details] [diff] [review]
v1.1
r=sspitzer, thanks edward.
please let dietrich know about this change as well.
Attachment #299616 -
Flags: review?(seth) → review+
Comment 4•17 years ago
|
||
we should spin off another bug, about this:
80 // This is the maximum results we'll return for a "typed" search
81 // This happens in response to clicking the down arrow next to the URL.
82 // XXX todo, check if doing rich autocomplete, and if so, limit to the max results?
83 #define AUTOCOMPLETE_MAX_PER_TYPED 100
that should not longer be #define, but we should use mAutoCompleteMaxResults now in nsNavHistory::AutoCompleteTypedSearch()
we can limit our results to the pref (25), because that's the max we'll show anyways.
Comment 5•17 years ago
|
||
again, I'm ignoring non-rich results.
keep in mind that the drop down is in the url bar, and not the other two places (open location dialog and home page pref.)
Comment 6•17 years ago
|
||
Comment on attachment 299616 [details] [diff] [review]
v1.1
a=beltzner
Attachment #299616 -
Flags: approval1.9+
Assignee | ||
Comment 7•17 years ago
|
||
Checking in toolkit/components/places/src/nsNavHistory.cpp;
/cvsroot/mozilla/toolkit/components/places/src/nsNavHistory.cpp,v <-- nsNavHistory.cpp
new revision: 1.232; previous revision: 1.231
done
Checking in toolkit/components/places/src/nsNavHistory.h;
/cvsroot/mozilla/toolkit/components/places/src/nsNavHistory.h,v <-- nsNavHistory.h
new revision: 1.124; previous revision: 1.123
done
Checking in toolkit/components/places/src/nsNavHistoryAutoComplete.cpp;
/cvsroot/mozilla/toolkit/components/places/src/nsNavHistoryAutoComplete.cpp,v <-- nsNavHistoryAutoComplete.cpp
new revision: 1.34; previous revision: 1.33
done
Flags: in-testsuite-
Target Milestone: --- → Firefox 3 M11
Assignee | ||
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•17 years ago
|
||
My bad. yank/paste = evil!
Attachment #300172 -
Flags: review?(seth)
Updated•17 years ago
|
Attachment #300172 -
Flags: review?(seth) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #300172 -
Flags: approval1.9?
Assignee | ||
Comment 9•17 years ago
|
||
Comment on attachment 300172 [details] [diff] [review]
followup v1
Would be useful to get feedback on good values.. if people can set the prefs.
Attachment #300172 -
Flags: approval1.9b3?
Comment 10•17 years ago
|
||
Comment on attachment 300172 [details] [diff] [review]
followup v1
a=beltzner for 1.9 and beta 3
Attachment #300172 -
Flags: approval1.9b3?
Attachment #300172 -
Flags: approval1.9b3+
Attachment #300172 -
Flags: approval1.9?
Attachment #300172 -
Flags: approval1.9+
Assignee | ||
Comment 11•17 years ago
|
||
Checking in toolkit/components/places/src/nsNavHistory.cpp;
/cvsroot/mozilla/toolkit/components/places/src/nsNavHistory.cpp,v <-- nsNavHistory.cpp
new revision: 1.238; previous revision: 1.237
done
You need to log in
before you can comment on or make changes to this bug.
Description
•