Bug 29372

Summary: [Qt] JavaScript onkeyup events don't fire in QtWebKit when IME is used
Product: WebKit Reporter: Tor Arne Vestbø <vestbo>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jturcotte, robert
Priority: P2 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   

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.