Key event handling radically diffferent from Firefox 2.0, breaks web app

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
10 years ago
7 years ago

People

(Reporter: Amit Jain, Unassigned)

Tracking

3.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CLOSEME 2010-10-01], URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0

keydown and keypress events work differently on 3.0. Previously, discarding a keydown would not generate a keypress, but that seems to have changed.
Please see the linked URL - I have implmented a multilingual virtual keyboard, works by trapping and translating key events in a script, and discarding the original event. This is broken on FF3 RC1.

A fix, or a workaround suggestion would be very welcome.
Thanks
amit@lipik.in

Reproducible: Always

Steps to Reproduce:
1. navigate to http://lipik.in/english.html
2. press any character key - 
Actual Results:  
the keyboard character is repeated 3 times in ff3, but works fine in 2.0



My script translates the key character on onkeydown and discard onkeypress. Works fine on 2.0, and the behavious makes sense - keydown discarded implies keypress should be discarded as well?
At the very least, the new behavious should be documented so developers can code around it.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051522 Minefield/3.0pre

Not sure what you mean; when I type or click "u", I see only one "u".
Reporter, are you still seeing this issue with Firefox 3.6.9 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-10-01]
Version: unspecified → 3.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.10 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.