Closed Bug 6447 Opened 26 years ago Closed 26 years ago

Win32 Return + Backspace keys generate 2 keydown events

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kinmoz, Assigned: rods)

Details

Help! This bug is causing us grief in the editor land on Win32. Every time we hit the return or backspace keys, we get 2 keydown events. I tracked it down, and it seems to be caused by the fact that those 2 keys are both "SPECIAL_KEY" and ascii, which allows nsWindow::OnKeyDown() to dispatch the event. It then gets dispatched again from within OnChar() when the WM_CHAR event is received.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I could duplaicate where the RETURN was sending two events but not the Backspace. I fixed it, now it is only generating a KEY_DOWN event via the OnChar
Status: RESOLVED → VERIFIED
Verified 1999-06-15-16-M7
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.