Closed
Bug 354018
Opened 18 years ago
Closed 18 years ago
Autocomplete fails when only one item for letter
Categories
(Camino Graveyard :: Location Bar & Autocomplete, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Camino1.5
People
(Reporter: jt.marsh, Assigned: hwaara)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
1.35 KB,
patch
|
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a1) Gecko/20060923 Camino/1.2+
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a1) Gecko/20060923 Camino/1.2+
I no longer get any url suggestions when typing in the URL bar.
Reproducible: Always
Steps to Reproduce:
Start typing a URL.
Actual Results:
No suggestions.
Expected Results:
Suggestions.
I have:
user_pref("browser.urlbar.matchOnlyTyped", true);
if that makes any difference.
Comment 1•18 years ago
|
||
Using Version 2006092321 (1.2+), this WFM.
Where did you get this build from? Is this your own build or a tinderbox build? (There isn't an nightly from 09/23 yet.)
Comment 2•18 years ago
|
||
This was fixed in CVS the evening of the 21st, and works in the 22 September nightly build as well.
cl
This is my own build. My own build from a few nights earlier worked.
It does seem to be selective about when it works and when it doesn't. Sometimes maybe it is just slow. For instance I type 'm' and I get 2 suggestions, "maps.google.com" and "mozillazine.org". Then I type the 'o', and I get nothing, but if I retry and wait longer, mozillazine shows up.
If I type www.digg.com and go to digg, then type 'w' or 'd' in the URL bar, I get nothing. If I then type in "digg.com" and go to digg, then type 'd', "www.digg.com" and "digg.com" show up as a suggestions.
If I type 'n', I get no suggestions. If I type in "netscape.com" and go to netscape, then type 'n', I get 2 suggestions, "netscape.com" and "news.mozilla.org".
If I type slowly, n e, I get "news.mozilla.org" and "netscape.com" as suggestions. If I type normal speed 'new', I get no suggestions. If I delete the 'w', I get 2 suggestions "news.mozilla.org" and "netscape.com". Same thing for typing "net" at normal speed.
Other things refuse to show up as suggestions - for instance "webmail.hawaii.rr.com".
For other URL's it does not work at all.
Assignee | ||
Comment 4•18 years ago
|
||
Please download today's latest nightly, and re-try. Lots of changes have been made to autocomplete lately, so it is critical that we know exactly when your build / source code is from.
Also "bugzilla.mozilla.org" never shows up as a suggestion. Maybe bugzilla and webmail.hawaii.rr.com don't ever show up as suggestions because they are https?
I downloaded a tinderbox build and get the same thing. I tried to rebuild and the build fails -- something about an invalid cast size_t to type PRUint32.
Assignee | ||
Comment 7•18 years ago
|
||
Please be more specific:
* Can you post a link to exactly which build you tried?
* Does it work if you move away your application support/Camino folder, and try on a fresh profile?
* Can you give us exact steps to reproduce, so anyone can reproduce? We need example URIs, preferably on a fresh profile (see above).
I would guess that the source in your local tree is somehow horked (if it doesn't compile, while there's a green tree), so let's go the route of using nightlies instead.
Seems comment #3 and #5 is pretty specific about URL's I am using. What more are your looking for?
I saw red in the tinderbox with the same invalid cast errors. I am rebuilding again now.
Correction to #5. bugzilla.mozilla.org do not show up as long as there is only 1 possible suggestion starting with 'b'. If I add another possibility by typing in "ballbug.com", then when I type 'b', I get 2 suggestions -- "bugzilla.mozilla.org" and "ballbug.com". But again if I type at normal speed "bu" or "ba", I get no suggestions.
Comment 10•18 years ago
|
||
Confirming based on comment 9.
We talked about this on IRC previously and I don't think there's a bug on this specific issue. The other related bug is bug 354070.
This is Håkan's bug as well.
Assignee: nobody → hwaara
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: camino1.1a1?
Flags: camino1.1+
Summary: Autocompletion is broken → Autocomplete fails when only one item for letter
Target Milestone: --- → Camino1.1
Assignee | ||
Comment 11•18 years ago
|
||
I optimized this code by only sorting if there were more than 1 result, but accidently also wrapped the call that adds results to the out-array inside the same block, so 1 result would never be appended (2 would).
I think this fixes bug 354070 as well
Attachment #240332 -
Flags: superreview?(sfraser_bugs)
Reporter | ||
Comment 12•18 years ago
|
||
I just found this as well and the fix does fix the problems I am seeing.
Updated•18 years ago
|
Attachment #240332 -
Flags: superreview?(sfraser_bugs) → superreview+
Assignee | ||
Updated•18 years ago
|
Assignee | ||
Comment 13•18 years ago
|
||
*** Bug 354070 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Flags: camino1.1a1?
You need to log in
before you can comment on or make changes to this bug.
Description
•