Closed Bug 268460 Opened 20 years ago Closed 17 years ago

Tab/return doesn't work any more for location bar drop-down URL completion menu

Categories

(SeaMonkey :: Location Bar, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: bob.lantz, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a4) Gecko/20040927
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a4) Gecko/20040927

When you type something into the location bar, the drop-down auto-completion
menu appears and you can hit <tab> to select an item in it. It used to be that
hitting <return> was the equivalent of "go" and then would either go to the URL
or start a search, but it does nothing with 1.8a4, at least on Mac OS X.


Reproducible: Always
Steps to Reproduce:
1. Type something into the location bar
2. When the URL auto-complete drop-down appears, hit <tab> to select
   something
3. Hit <return> and observe that nothing happens.

Actual Results:  
Nothing. "search on google for <whatever>" remained selected, but nothing
happens when you hit <return>.

Expected Results:  
It should have gone to google (or whatever your default search engine is) and
done the search. Or, if it's a URL completion, it should have gone to the URL.
I am seeing half of the problem.  If I select a URL and hit enter, it correctly
loads that URL.  However, if I go to the search bar at the bottom of the drop
down, and hit enter, then nothing happens.  But I do get this in the console:

JavaScript error: , line 0: uncaught exception: [Exception... "Component
returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND)
[nsIInternetSearchService.GetInternetSearchURL]"  nsresult: "0x80520012
(NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame ::
chrome://navigator/content/urlbarBindings.xml :: getOverrideValue :: line 431" 
data: no]

I tried this on Linux, but it did not show the search bar at all in the drop
down.  So I went to preferences->Navigator->Internet Search.  "Ask Jeeves" was
selected as the default search engine.  But I changed it to "Google" to test. 
Then when I tried the test again, the search bar was there, and tabbing to it
went to google.com.

So I tried the same thing on Mac.  Again, "Ask Jeeves" was selected as the
default.  But I remember now that the search bar in the drop down did not
display an icon.  I reset "Ask Jeeves" in preferences, and then tried again on
the Mac.  This time it worked.

So it seems that if you have not previously set this pref, then it does not
actually default to anything.  On Linux, it at least hides the search bar from
the URL drop down, but it is visible on Mac and fails to do anything until you
have specifically set your default search engine in prefs.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hmm, maybe not.  In my case, the issue was the the pref
"browser.search.defaultengine" was pointing to a Mozilla.app that no longer
existed.  Actually, wouldn't it be better if this pref were saved with relative
URL, rather than as a fully qualified file system path?
Javier: what you were seeing was partially fixed in bug 300561
Bob: are you still seeing this?  Are you certain that you saw this problem with hitting enter for URLs as well as the search engine?
(In reply to comment #3)
> Javier: what you were seeing was partially fixed in bug 300561
> Bob: are you still seeing this?  Are you certain that you saw this problem with
> hitting enter for URLs as well as the search engine?

Javier writes "I don't see this problem any more, but I never saw the full range of issues as described by Bob."

reporter email address is dead, so closing incomplete

Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.