Closed
Bug 1203724
Opened 10 years ago
Closed 10 years ago
Location bar should be kept focus after selected the Search suggestions prompt by keyboard access key
Categories
(Firefox :: Address Bar, defect, P2)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 43
| Tracking | Status | |
|---|---|---|
| firefox43 | --- | fixed |
People
(Reporter: alice0775, Assigned: adw)
References
Details
(Keywords: polish, Whiteboard: [suggestions][fxsearch])
Attachments
(1 file, 1 obsolete file)
|
1.54 KB,
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
Bug 1192631 has been fixed, but usability is not a GOOD.
Because, Location bar loses focus after selected the Search suggestions prompt by keyboard access key.
Steps to reproduce:
1. Start Firefox with new profile
2. Focus the location bar.
3. Type anything that will cause suggestions to appear.
4. Observe that the "Would you like to improve your search experience with suggestions?" prompt appears.
5. Select "No" / "Yes" with keyboard access key Alt+N / Alt+Y
Actual Results:
Location bar lost focus.
Expected Results:
Location ar should be kept focus, so that you can type text in location bar continuously
Comment 1•10 years ago
|
||
makes sense, it would be a better experience.
Priority: -- → P2
Whiteboard: [suggestions][fxsearch]
| Assignee | ||
Comment 2•10 years ago
|
||
Without the selectTextRange(), the text is automatically selected, which I don't think is a great experience.
Comment 3•10 years ago
|
||
Comment on attachment 8660225 [details] [diff] [review]
patch
Review of attachment 8660225 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/base/content/urlbarBindings.xml
@@ +666,5 @@
> this._userMadeSearchSuggestionsChoice =
> this._prefs.getBoolPref(aData);
> + this.focus();
> + this.selectTextRange(this.textValue.length,
> + this.textValue.length);
I think you can set this.mIgnoreFocus = true / false around the focus call?
Attachment #8660225 -
Flags: review?(mak77) → feedback+
| Assignee | ||
Comment 4•10 years ago
|
||
Indeed!
Attachment #8660225 -
Attachment is obsolete: true
Attachment #8661362 -
Flags: review?(mak77)
Updated•10 years ago
|
Attachment #8661362 -
Flags: review?(mak77) → review+
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Comment 7•10 years ago
|
||
I have reproduced this bug on Firefox nightly 43.0a1 according to (2015-9-10)
It's verified on Latest Firefox Beta
Build ID 20151123113812
User Agent Mozilla/5.0 (Windows NT 6.3; rv:43.0) Gecko/20100101 Firefox/43.0
Tested OS- 32bit windows8.1
QA Whiteboard: [testday-20151127]
You need to log in
before you can comment on or make changes to this bug.
Description
•