<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 25, 2016 at 6:50 PM, Gervase Markham <span dir="ltr"><<a href="mailto:gerv@mozilla.org" target="_blank">gerv@mozilla.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 25/11/16 13:57, Panos Astithas wrote:<br>
> The first result should be already selected and so a single down arrow<br>
> should get you to the first history match. This is the intent and what I<br>
> experience in Developer Edition and Nightly. Can you try with add-ons<br>
> disabled and then on a clean profile to confirm that this is actually a<br>
> Firefox bug?<br>
<br>
</span>I definitely see it with addons disabled. Looking harder, it seems to me<br>
it's because I press the down arrow before the awesomebar dropdown has<br>
finished populating, and the focussing of the first entry happens once<br>
population is complete. So what happens is that I type, it starts<br>
populating, I press down, it selects the search option, and then it<br>
finished populating and the code selects the first entry again.<br>
<br>
So we either need to store key events until population has finished, or<br>
select the first entry as soon as it appears rather than at the end of<br>
population, or notice when we are trying to focus the first entry that<br>
it's already focussed, and select the second one instead.<br></blockquote></div><br></div><div class="gmail_extra">OK, this makes sense. I know Drew is working on some improvements to key handling in bug 1295458, but this might require a separate bug.<br><br></div><div class="gmail_extra">Thanks,<br></div><div class="gmail_extra">Panos<br><br></div></div>