diff -r 85266cc22c7f -r 35baca0e7a2e javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/eventcallback.cpp --- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/eventcallback.cpp Fri Jun 11 13:33:44 2010 +0300 +++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/eventcallback.cpp Tue Jul 06 20:36:19 2010 +0300 @@ -105,6 +105,13 @@ { SWT_LOG_EVENT_2("QEvent type=%d (key event) object=%x", eventType, aObj); QKeyEvent *keyEvent = static_cast(aEvent); + + // In SWT repeat is done by repeating the key-down event with no release + if((eventType == QEvent::KeyRelease) && keyEvent->isAutoRepeat()) + { + return false; + } + // QString ensures that the character at position size() is always '\0' int character = keyEvent->text()[0].unicode();