RESOLVED DUPLICATE of bug 33165 29372
[Qt] JavaScript onkeyup events don't fire in QtWebKit when IME is used
https://bugs.webkit.org/show_bug.cgi?id=29372
Summary [Qt] JavaScript onkeyup events don't fire in QtWebKit when IME is used
Tor Arne Vestbø
Reported 2009-09-18 06:28:14 PDT
This bug report originated from issue QTBUG-2542 <http://bugreports.qt.nokia.com/browse/QTBUG-2542> --- Description --- This can be reproduced with the demo-brower with the following page: <html> <body> <input type=text onkeyup="alert('a');"></input> </body> </html> Without IME typing will open the message box for each key-release. If an IME (ie Chinese) is used, then nothing pop up while typeing. Safari and Internet Explorer open the message box then as well.
Attachments
Robert Hogan
Comment 1 2010-03-08 13:16:25 PST
Is it connected with this somehow? void EditorClientQt::handleKeyboardEvent(KeyboardEvent* event) { Frame* frame = m_page->d->page->focusController()->focusedOrMainFrame(); if (!frame || !frame->document()->focusedNode()) return; const PlatformKeyboardEvent* kevent = event->keyEvent(); if (!kevent || kevent->type() == PlatformKeyboardEvent::KeyUp) return;
Jocelyn Turcotte
Comment 2 2010-03-17 11:23:32 PDT
*** This bug has been marked as a duplicate of bug 33165 ***
Note You need to log in before you can comment on or make changes to this bug.