Closed Bug 175683 Opened 23 years ago Closed 7 years ago

Unable to press Enter for OK upon entering secure page

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kevin, Unassigned)

References

Details

(Keywords: helpwanted)

Attachments

(1 file)

Whenever I go to a secure page, I get the message "You have requested an encrypted page..." To clear the message, I can click the OK button. Pressing Enter does not do anything, though. The same applies to the message produced upon exiting a secure page. The Enter key should be allowed as it is much more convenient then using the mouse. I'm using 2002101412 on WinXP.
Blocks: atfmeta
Keywords: helpwanted
The easy way to fix this would be to focus on the OK button instead of the check box.
Actually, nothing has focus when this dialog opens, thus the lack of keyboard support. It looks like bug 133582 has regressed.
Actually, no, the fix for that bug was with the fix for bug 134066, which specifically has: + if (setCheckbox(gCommonDialogParam.GetString(1), gCommonDialogParam.GetInt (1))) { + firstButton.focus(); // Don't focus checkbox, focus first button instead + }
Attached patch patchSplinter Review
About 45 lines above this code is this: switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; It doesn't make much sense that we are hiding the cancel button and then setting it up as the button displayed when the number of buttons is 1. Especially when we call |firstButton.focus;| below this code, which is focusing onto the hidden cancel button.
aaron, dean, I've already filed bug 172691 on the buggy focus behaviour - attachment 102389 [details] [diff] [review] should resolve this problem as well.
Mass un-assigning bugs assigned to Aaron.
Assignee: aaronleventhal → nobody
QA Contact: bugzilla → keyboard.navigation

This UI doesn't seem to exist any more. Any reason to keep this bug open?

Resolving sounds good to me.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: