Closed Bug 498397 Opened 11 years ago Closed 2 years ago

clear text value in location bar when autocomplete history dropdown is opened

Categories

(Toolkit :: Autocomplete, defect)

defect
Not set

Tracking

()

RESOLVED INACTIVE

People

(Reporter: aakashd, Unassigned)

Details

When searching for text, clicking on the drop-down arrow after the search completely breaks the function.

screencast: http://www.screencast.com/users/ahdesai/folders/Jing/media/8c6947d0-acdd-4fea-ab40-4af96b0a3e08


Steps to Reproduce:
1. Populate the location bar with some history
2. type in a term/phrase that will generate results
3. Click on the drop-down arrow on the right side of the location bar.


Actual Results:
Text matching is canceled.

Expected Results:
As long as the term is still in the location bar, pressing down and/or mouse-clicking in the dropdown arrow should bring up the search matches.
Clicking the dropdown just triggers the basic "most common entries" popup.

I don't understand why you'd expect text matching to continue after you've clicked dropdown while typing something in, so it seems to me like the implementation complexity of your suggested behavior outweighs the benefits.
If that's how you want to look at it, then why is the text still allowed to be present in the location bar if the matching is no longer functioning?


A more useful scenario would be something like if a user presses "Esc" to close the text matching, then re-opens it with the drop-down arrow. That's broken functionality when the two operations that a user can use to do the same function is then changed to have two different actions.
The way the code is written, the popup you get from clicking the dropdown is entirely unrelated to what's in the URL bar (and is separate from the popup you get when typing).

We could clear the URL bar text when you click the dropdown, to make that clearer, I suppose. Would that help?
Yeah, that would work for me.
Summary: Mouse-click Dropdown cancels Text Matching → clear text value when autocomplete history dropdown is opened
Severity: major → normal
Summary: clear text value when autocomplete history dropdown is opened → clear text value in location bar when autocomplete history dropdown is opened
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.