Closed Bug 192935 Opened 22 years ago Closed 8 years ago

Dead key events not captured by keypress in JavaScript on Mac OS X

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: chregu, Unassigned)

References

(Blocks 1 open bug, )

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030210

If I type for example ¨+u at
http://www2.wbs.ne.jp/%7Echado/work/js_keypress/js_keypress.html (example not by
me) nothing happens in Mac OS X. On Linux it works as expected...

I took the above example, as it is much shorter than what I could provide
(http://demo.bitfluxeditor.org) ;) it's also not working on Mac OS X there.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Summary: dead keys events not captured by keypress in javascript in Max OS X → dead keys events not captured by keypress in javascript in Mac OS X
WorksForMe using FizzillaMach/2003022103. I press option+u to invoke the umlaut
modifier, and an umlaut placeholder is drawn. I then press u, and a u+umlaut
character replaces the placeholder.

Christian, can you still reproduce this problem using a current nightly build?
If so, can you reproduce this problem using another Mozilla user profile?
Summary: dead keys events not captured by keypress in javascript in Mac OS X → Dead key events not captured by keypress in JavaScript on Mac OS X
 Doesn't work for me :(

I can type ü and Ü in the textarea field in the url above, that's not the
problem. But if you click "enable keypress", then it doesn't work with dead
keys. It shows for example:
ASCII code of pressed key = 99, Character = "c"
if i press c, but nothing happens if i type ctrl+¨ and then U (or u for that matter)

Tested with build 2003022303 on Mac OS X. 

chregu
mmmh, sorry, i don't have to type ctrl+¨ on my swiss german keyboard. just the ¨
key and then the approproate letter is enough normaly ;) Just for the record.
Confirmed using FizzillaMach/2003022103.
Status: UNCONFIRMED → NEW
Ever confirmed: true
In my case, this problem develops in other programs and persists as long as
Mozilla is open, again under Mac OS 9.2. Mozilla itself does not have any
trouble handling dead key events. For the other programs, they may be opened
before or after Mozilla, dead key events are not handled properly until after
Mozilla has been shut down.
Tossing this over to Widget:Cocoa with the rest of the key event bugs.  (Note that this is just characters composed by dead keys; single-key characters like ß (opt-s) are captured.)
Assignee: saari → joshmoz
Component: DOM: Events → Widget: Cocoa
QA Contact: desale → cocoa
Assignee: joshmoz → nobody
This bug is really old and the examples referenced are gone.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.