<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 25, 2016 at 11:50 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
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">I have seen this happen in recent Nightlies. I have a web site that I usually get to by typing the first two letters of its name (te in this case), and then hitting down arrow twice (the first one is the name without www. in front of, which will load, but redirects first to www.) to get the full address, and hit enter. Usually, it doesn't matter what Firefox/Nightly is doing, it goes to the site. For a few days, it would, for whatever reason, act as if I had just hit te in the awesome bar, which meant that it was using Google to look up te. (Yes, I default to Google for my search. :p ) Even if I watched it go down to the address I wanted. For some reason, it was ignoring what I chose, and acted as if I hadn't hit the down arrow key twice. And if I waited, I would still have to hit the down arrow key twice once Firefox/Nightly was done thinking about it. That lasted for about five days if I recall correctly. Something changed again, and it works like it used to.<br><br></div></div>