From konq-bugs Wed Jul 28 22:39:54 2010 From: Date: Wed, 28 Jul 2010 22:39:54 +0000 To: konq-bugs Subject: [Bug 246097] New: window.event.keyCode may return wrong value Message-Id: X-MARC-Message: https://marc.info/?l=konq-bugs&m=128035682829839 https://bugs.kde.org/show_bug.cgi?id=246097 Summary: window.event.keyCode may return wrong value Product: konqueror Version: 4.4.0 Platform: MS Windows OS/Version: MS Windows Status: UNCONFIRMED Severity: normal Priority: NOR Component: kjs AssignedTo: konq-bugs@kde.org ReportedBy: duke_the_killer@hotmail.com Version: 4.4.0 (using KDE 4.4.0) OS: MS Windows Found nothing in the changelogs between 4.4.0 and 4.4.5 Values returned in document.onkeypress and document.onkeydown are the same document.onkeydown should be a "hardware key", the key pressed on my keyboard document.onkeypress should be a "software key", the character that will appear Reproducible: Always Steps to Reproduce: Test page: http://xirc.chez.com/onkeypress.html Press: Shift + 1 Shift + Alt + 1 Ctrl + Alt + 1 Ctrl + Shift + 1 Ctrl + Shift + Alt + 1 Actual Results: First 3 tests, onkeydown returns keyCode 33 33 177 Last 2 tests, onkeypress returns keyCode 49 49 Expected Results: First 3 tests should return 49 (value for "1" key) Last 2 tests should return 33 (value for "!" key) -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Konq-bugs mailing list Konq-bugs@mail.kde.org https://mail.kde.org/mailman/listinfo/konq-bugs