new-tab page stealing the control-k search shortcut

bobbuun bobbuun at
Tue Aug 19 16:43:42 UTC 2014

It is arguable that this is a subset of the overall issue of a web page 
being able to hijack browser keyboard shortcuts without prompting or 
option otherwise (Bug 380637 since 2007). I recall reading this was 
proving problematic for add-in developers to fix.


On 08/19/2014 11:32 AM, Gavin Sharp wrote:
> This was a temporary regression from bug 1041678.
> Alex has already fixed it in bug 1054776.
> Gavin
> On Tue, Aug 19, 2014 at 8:18 AM, Benjamin Smedberg
> <benjamin at> wrote:
>> I've noticed recently that when the new-tab page is open and I press
>> control-k to go to the search box, the focus goes to the toolbar search box
>> and then quickly shifts to the new-tab search box. This really bothers me
>> for the following reasons:
>> * The cursor quick-switching looks like an accident
>> * My eyes are looking for the cursor in the search box, but it's not there
>> any more
>> * The search box has my last remembered search text in it, which I may want
>> to keep or change, but the new-tab search box doesn't have that
>> I don't really care whether we have the search box on the new-tab page, but
>> I don't think it should steal focus/shortcuts from the normal search box,
>> for these reasons.
>> --BDS
>> _______________________________________________
>> firefox-dev mailing list
>> firefox-dev at
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at

More information about the firefox-dev mailing list