Closed
Bug 172194
Opened 23 years ago
Closed 23 years ago
Initial focus in password dialogs messed up
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Biesinger, Assigned: aaronlev)
References
()
Details
Attachments
(1 file)
756 bytes,
patch
|
samir_bugzilla
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
[guessing at the component]
1. go to above url
2. notice focus is not in the username field
build id 2002100109, win98
this is a regression.
also happens for news username/password, like news://news.cis.dfn.de/at.linux
probably also for IMAP/POP password prompts, but I can't check right now.
Reporter | ||
Comment 1•23 years ago
|
||
To clarify, the focus is on the OK button
Assignee | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Comment on attachment 101461 [details] [diff] [review]
Only focuses first button if no textfields -- otherwise the old default behavior occurs, which focuses the first control
r=sgehani
Attachment #101461 -
Flags: review+
Comment 4•23 years ago
|
||
Comment on attachment 101461 [details] [diff] [review]
Only focuses first button if no textfields -- otherwise the old default behavior occurs, which focuses the first control
sr=bryner
Attachment #101461 -
Flags: superreview+
Assignee | ||
Comment 5•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Component: Accessibility APIs → Keyboard Navigation
Resolution: --- → FIXED
Comment 6•23 years ago
|
||
Comment on attachment 101461 [details] [diff] [review]
Only focuses first button if no textfields -- otherwise the old default behavior occurs, which focuses the first control
>- if (setCheckbox(gCommonDialogParam.GetString(1), gCommonDialogParam.GetInt(1)))
>+ if (setCheckbox(gCommonDialogParam.GetString(1), gCommonDialogParam.GetInt(1)) &&
>+ gCommonDialogParam.GetInt(3) == 0) // if no text fields
Unfortunately I didn't have sufficiently reliable internet access otherwise I
would have posted my solution which only checks GetInt(3) although I expect
that the extra test doesn't hurt.
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•