Closed
Bug 71196
Opened 24 years ago
Closed 24 years ago
Pressing 'Enter' in dialogs with a default button should activate the focused and not the default button
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: ajbu, Assigned: mpt)
Details
(Keywords: polish)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
Pressing the Enter/Return key in a dialog with a default button, and focus on
another button activates the default button. This should activate the button
with focus.
From the Microsoft books online:
"The design of Windows dialog boxes includes the concepts of the default button
and the cancel button. The default button is activated when the Enter key is
pressed and the control that currently has the focus is not itself a button. In
other words, when a button has the focus, pressing the Enter key triggers that
button. The cancel button is similar but simpler: when the Esc key is pressed,
whatever button is marked as the cancel button is activated. Esc always affects
the cancel button regardless of what control has the focus."
Comment 1•24 years ago
|
||
We also get this wrong on OS/2 apparently (see bug 70958)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
OK. The attached patch changes Win and OS2 to be somewhat more similar to the
MS spec....
All that happens is that Enter triggers the currently focused one of those buttons.
This does not fix the general symptom of buttons not firing on enter when they
are focused. It does not fix the general symptom of the "default" ring not
following focus when buttons are focused.
Also, I don't know what the behavior should be here on Mac and on Unix. mpt?
Assignee | ||
Comment 5•24 years ago
|
||
Hmmm. The old bug has a full spec, the new bug has a partial patch. Which to
dup, which to dup? ... Well, I guess it's easier to copy over the URL for a
patch than to copy over an entire spec ...
*** This bug has been marked as a duplicate of 63728 ***
Status: NEW → RESOLVED
Closed: 24 years ago
QA Contact: mpt → zach
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•