Closed Bug 218957 Opened 21 years ago Closed 21 years ago

about:config should load with focus in filter textbox

Categories

(SeaMonkey :: Preferences, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glc_bugs, Assigned: steffen.wilberg)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030911 Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030911 Firebird/0.6.1+

about:config should load with focus in the filter textbox.

Reproducible: Always

Steps to Reproduce:
1. open about:config
2. start typing


Actual Results:  
nothing

Expected Results:  
Focus should be in the filter textbox so typing can begin without having to
click or tab into the textbox first.

Seems like a good usability idea.
Confirming.
This can be achieved by adding "document.getElementById("textbox").focus();" at
the end of onConfigLoad() in mozilla/xpfe/global/resources/content/config.js and
mozilla/toolkit/components/viewconfig/content/config.js.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch like thisSplinter Review
adds "document.getElementById("textbox").focus();" at the end of
onConfigLoad().
Comment on attachment 135243 [details] [diff] [review]
like this

Ben, please have a look. Just a one-liner!
Attachment #135243 - Flags: review?(bugs)
Attachment #135243 - Flags: review?(bugs) → review?(neil.parkwaycc.co.uk)
Comment on attachment 135243 [details] [diff] [review]
like this

>[+  ]
Lose the trailing whitespace and r=me [xpfe]
Attachment #135243 - Flags: review?(neil.parkwaycc.co.uk) → review?(p_ch)
-> Steffen
Assignee: bugs → steffen.wilberg
Comment on attachment 135243 [details] [diff] [review]
like this

r=me for the new toolkit
Attachment #135243 - Flags: review?(p_ch) → review+
Attachment #135243 - Flags: superreview?(brendan)
Comment on attachment 135243 [details] [diff] [review]
like this

Sure, why not?

/be
Attachment #135243 - Flags: superreview?(brendan) → superreview+
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: