Closed Bug 1670944 Opened 5 years ago Closed 5 years ago

Can't tab past tab-to-search results when the Urlbar is focused with the keyboard

Categories

(Firefox :: Address Bar, defect, P2)

defect
Points:
2

Tracking

()

RESOLVED FIXED
83 Branch
Iteration:
83.2 - Oct 5 - Oct 18
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- unaffected
firefox83 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Focus the address bar with Accel+L
  2. Type enough for a search domain to be autofilled (e.g. "a" to autofill amazon.com). Observe a tab-to-search result is shown.
  3. Press tab. The tab-to-search result should be highlighed.
  4. Press tab again.

Expected:
The third result is highlighted.

Actual:
The next toolbar item is selected.

Looks like the fix from bug 1666927 didn't fix this. I wonder if that means highlighting tab-to-search results enters full search mode when instead we should preview search mode.

it seems a bit more than S4 if we get users used to TAB to search, they may keep tabbing, it's not just aesthetic.

Severity: S4 → S3
Assignee: nobody → htwyford
Status: NEW → ASSIGNED
Iteration: --- → 83.2 - Oct 5 - Oct 18

When Tab is pressed, SearchOneOffs nulls its selectedButton. From that call, UrlbarSearchOneOffs calls UrlbarInput.restoreSearchModeState(). Bug 1655486 changed restoreSearchModeState to only restore non-preview search mode. So when Tab is pressed on a result previewing search mode, we actually exit search mode. Then when we get to the UrlbarController Tab handler, allowTabbingThroughResults is false because we are not in search mode, let alone search mode preview.

Keywords: regression
Regressed by: 1655486
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1655486

Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4595a3aa2d7a Allow tabbing past tab-to-search results after focusing the Urlbar with the keyboard. r=mak
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: