Closed Bug 268355 Opened 20 years ago Closed 16 years ago

Location Bar History (Autocomplete) Not Available After Removing Navigation Toolbar And Then Restoring It

Categories

(Firefox :: Address Bar, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mohitshar, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

Sometimes Navigation Toolbar is removed from the UI by users to increase visual
area. When the user later re-enables the Navigation Toolbar, the autocomplete
history in the location bar is forgotten. That is he can no longer see the
possible suggestions for the address he is typing.

Reproducible: Always
Steps to Reproduce:
Assumption: You have using the browser for some time, so that you have some
navigation history recorded with the browser. You get autocomplete suggestions
from history when you type your addresses in the location bar.
1. Go to View -> Toolbars. Deselect the "Navigation Toolbar" to remove the
Navigation Toolbar from the browser UI.
2. Do some browsing without the Navigation Toolbar (e.g. using links etc.) OR
Close the Firefox application.
3. Go to View -> Toolbars. Select the "Navigation Toolbar" to make the
Navigation Toolbar visible in the browser UI.
4. Type web address in the location bar that you expect to be in history.


Actual Results:  
No autocomplete suggestions from history available when typing the web address.

Expected Results:  
The usual list of suggested web addresses (from usage history) should be shown
when typing address in the location bar.
This problem is not limited to removing the Navigation Toolbar only. Simply
removing the Location field and re-adding it later will cause the bug to be
reproduced.
This bug persists with version 1.0.4 with Firefox. However, the problem isn't
produced merely by removing the address bar, either by customizing your toolbar
or by removing the navigation toolbar entirely for the session; it is only when
the browser is closed after the address bar being removed, by either method,
that the bug occurs.
WFM - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Mass edit: Changing QA to default QA Contact
QA Contact: davidpjames → password.manager
Mass edit: Setting correct QA for location bar/autocomplete. My bad. I forgot I had once been Autocomplete QA too. Hmm, why can't I just set the QA of bugs to the default QA of the component in a mass edit rather than having to do it manually...?
QA Contact: password.manager → location.bar
Problem occurs with a trunk build. I could not reproduce it with Firefox 2.0

Steps to reproduce:
1) Hide the location bar using the toolbar customization menu and confirm.
2) Re-add the location bar via the same method.
3) click on the drop down menu in the location bar, or use the location bar's autocomplete.

Results:
An exception occurs:
Error: uncaught exception: [Exception... "Component does not have requested interface arg 0 [nsIAutoCompleteController.input]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: chrome://global/content/bindings/autocomplete.xml :: attachController :: line 269"  data: no]

Note that unlike previous comments, no restart is required
I forgot to mention that the problem is only reproducible when the Search Bar is visible.
Assignee: bugs → nobody
Bulk closing all UNCONFIRMED bugs dealing with places that haven't had any bug activity in over 120 days, have no votes, and are not enhancement requests.

If you are still experiencing this issue in Firefox 3.0 or later, please re-open the bug with steps to reproduce (if they were not part of the original comment).
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.