I'm seeing this on linux-2001013010 as well. However, if I tab to the cancel button and then press "Space" instead of "Enter", the cancel button ispressed and it returns false as expected. Seems to be just a problem with the enter key...
Space also behaves the way Enter should on Windows and Macintosh.
Confirming bug because I see it on 2001021204 WinNT build. Correct behavior of the buttons for Windows is that space and Enter should activate the currently selected button. The confirm dialog incorrectly assumes that Enter always maps to the OK button. Space behaves the way Enter should.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Added keywords 4xp (doesn't occur with Nav4/IE4+), dataloss because confirm dialogs are often used before harmful actions in web applications and having cancel fail to return false could cause problems, and proposed for mozilla0.9 milestone.
Keywords: 4xp, dataloss, mozilla0.9
This behavior of Enter not activating the currently selected button seems to occur throughout Mozilla. I reproduced it with the Edit->Preferences dialog. Therefore, I'm sure this bug is a duplicate, but can't find one that is general enough. I'm looking for a bug like "Enter does not activate currently selected button"
let's accuse blake of knowing.
Assignee: asa → blakeross
Component: Browser-General → XP Apps: GUI Features
QA Contact: doronr → sairuh
Looks like the best duplicate is bug 67923 (cancel button alert cannot be accessed via keyboard navigation).
This is a dup of a bug that deals with enter not triggering the right button. Matthew, do you know the best bug to dup this against (I found a couple of candidates)?
tpowell is correct. *** This bug has been marked as a duplicate of 67923 ***
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → DUPLICATE
vrfy dupe of bug 67923 cancel button alert cannot be accessed via keyboard navigation
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.