Version: (using KDE KDE 3.3.0) Installed from: FreeBSD Ports Compiler: gcc (GCC) 3.3.3 [FreeBSD] 20031106 OS: FreeBSD When I'm using the event handler document.onkeypress in javascript, and in the handler function I read the keycode of the key, if the key is any arrow key/PgUp/PgDn and mybe some more keys, the event.which and e.keyCode are both 0 - thus I can't resolve these keys.
Here you can see the defect here. If some debugging info needed, I can add it (e.g. those mentioned codes) http://sg1.homeunix.org/~idea/ideol/frameset.php
I confirm this bug, and I think it is more serious than just a wishlist item. All arrow keys give keycode 0 as can be seen here: http://www.dansteinman.com/dynduo/examples/keystrokes-box.html
I can confirm this bug too, imho it should be marked as bug not whishlist.
OK, but how do I change it to bug?
Also modifiers are always undefined. Keys not reported by event handler: function keys [PC], insert, home, end, pgup, pgdown, arrow keys and tab. I think this shuld be treat as a bug.
90% fixed now. There's still some before/after mixup of modifiers on press and release events.
On kubuntu feisty: I just noticed that if I press pgup in the conversation view in gmail, the conversation is marked as spam. According to gmail documentation, this should happen when I press "!", not pgup. Firefox has the correct behavior, so I believe it is not simply a programming error in gmail.
Hello all, Is this bug still active? http://sg1.homeunix.org/~idea/ideol/frameset.php is unretrievable http://www.dansteinman.com/dynduo/examples/keystrokes-box.html is 404 not found Interactive meta-testcases on Key events (charCode, which, keyCode): DOM Sample - KeyEvent:Properties http://www.din.or.jp/~hagi3/JavaScript/JSTips/Mozilla/Samples/KeyEvent.htm Tests: Évenements clavier http://dev.webnaute.net/DOM/Events/keyboardEvent/ Keyboard Events and Codes http://www.w3.org/2002/09/tests/keys.html With Konqueror 4.4.0, I can see the keyCode (and its correct, expected value) for non-printable characters like arrow keys, Home, End, PgUp, PgDn, insert, delete, tab for keypress events. keyCode for Function keys (F1 to F12) are not consistently reported. charCode should be 0 for non-printable characters in all browsers and charCode is 0 for non-printable characters in Konqueror 4.4.0. The event property evt.which is DOM 0 and is not forward-compatible, therefore not recommendable, not trustworthy. DOM 3 Events interface 6.3.3 Key identifiers, keyCode, and charCode http://www.w3.org/TR/DOM-Level-3-Events/#keyset-keyCode-charCode regards, Gérard
Hello, I got expected results with Konqueror 4.4.0 and I still get these with Konqueror 4.5.4. Please somebody RESOLVE this bug as WORKSFORME. regards, Gérard
See comment:10