Focus the search box in the add-ons manager

NEW
Unassigned

Status

()

Toolkit
Add-ons Manager
6 years ago
4 years ago

People

(Reporter: Johannes Buchner, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
+++ This bug was initially created as a clone of Bug #570760 +++

On opening the add-ons manager, search should be focussed so that the user can type away.

This behaviour is similar to 
 * opening a new tab -> url is focused, 
 * GNOME Shell: Expose -> search windows box receives all keystrokes

At the moment, as far as I see (Firefox 6), nothing special is focused. The tab navigation would be the same if starting from the searchbox.
(Reporter)

Updated

6 years ago
No longer depends on: 570760
(Reporter)

Comment 1

6 years ago
In https://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/content/extensions.xul

there is 

textbox id="header-search"

which should receive something like selectedIndex="0" (see view-port) or tabindex="0"?
(In reply to Johannes Buchner from comment #0)
> On opening the add-ons manager, search should be focussed so that the user
> can type away.

You're assuming the user is most likely going to search when opening the add-ons manager.
Why?

Comment 3

4 years ago
(In reply to Dão Gottwald [:dao] from comment #2)
> (In reply to Johannes Buchner from comment #0)
> > On opening the add-ons manager, search should be focussed so that the user
> > can type away.
> 
> You're assuming the user is most likely going to search when opening the
> add-ons manager.
> Why?

I suggest an alternative question, of what?

If there should be a focus (and bug 580537 comment 0 suggests there should be), then *what* should the focus be, if not search?
You need to log in before you can comment on or make changes to this bug.