Closed Bug 132720 Opened 23 years ago Closed 23 years ago

Return and Enter keys do not correctly confirm OK/Cancel dialogs

Categories

(Core :: XUL, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.0

People

(Reporter: sfraser_bugs, Assigned: bryner)

References

()

Details

(Keywords: access, Whiteboard: [adt2])

Attachments

(1 file)

When OK/Cancel dialogs come up, focus is on the Cancel button (which seems wrong in the first place). But the bad thing is that on Mac, both Return and Enter buttons active the focussed widget, rather than the default button, so both end up doing a 'Cancel'. This is just wrong.
-> hewitt
I think that we're just focussing the first focussable thing, which happens to be the Cancel button. I'm not sure that makes sense here. It's certainly wrong to have Return/Enter do the focussed thing, rather than the default thing (on Mac).
*** Bug 131865 has been marked as a duplicate of this bug. ***
This is a major usability bug and an incredible annoyance for keyboard users... We should just handle this in the platform <dialog> bindings...
Assignee: jaggernaut → hewitt
Blocks: atfmeta
Nav triage team: nsbeta1+/adt2
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt2]
This bug bears *some* relation to bug #127892 where the opposite occurs on some dialogs, but only those that use the dialogKeys keyset. This bug appears to be a Mac only issue, and there is a Mac issue to be addressed in 127892 as well.
->bryner
Assignee: hewitt → bryner
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
This makes enter or return always activate a default accept button. This is what users will expect on the Mac since in native dialogs you can't actually tab through the buttons. Users can still tab to a button and press space to activate it.
Comment on attachment 82700 [details] [diff] [review] make enter/return _always_ activate a default accept button on mac r=hewitt
Attachment #82700 - Flags: review+
*** Bug 139836 has been marked as a duplicate of this bug. ***
Comment on attachment 82700 [details] [diff] [review] make enter/return _always_ activate a default accept button on mac sr=ben@netscape.com
Attachment #82700 - Flags: superreview+
Checked in on the trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment on attachment 82700 [details] [diff] [review] make enter/return _always_ activate a default accept button on mac a=asa (on behalf of drivers) for checkin to the 1.0 branch
Attachment #82700 - Flags: approval+
Checked in on the branch.
Keywords: fixed1.0.0
*** Bug 144180 has been marked as a duplicate of this bug. ***
*** Bug 130913 has been marked as a duplicate of this bug. ***
This bug still exists (or resurfaced) in FF on a mac
Please file a new bug report, with clear steps to reproduce, and cc me on that bug report?
Flags: needinfo?(eschiebel)
@boris, I don't see how to cc you from the new bug report. It is https://bugzilla.mozilla.org/show_bug.cgi?id=1400362
Flags: needinfo?(eschiebel)
@boris, I don't see how to cc you from the new bug report. It is https://bugzilla.mozilla.org/show_bug.cgi?id=1400362
Thanks, I'll follow up there. That's about a different dialog than this bug.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: