QLineControl::updateDisplayText() doesn't check the existence of preedit text when updating the area. This results in inputting into QLineEdit through IMEs such as uim or scim being sluggish and unresponsive. Qt 4.6 series was the first time I noticed this bug.
A patch by Etsushi Kato <email@example.com> for qt 4.6.2 is proposed:
— qt-kde-qt-mac/src/gui/widgets/qlinecontrol.cpp.orig 2010-02-17
+++ qt-kde-qt-mac/src/gui/widgets/qlinecontrol.cpp 2010-03-06
@@ -406,8 +406,9 @@
void QLineControl::processInputMethodEvent(QInputMethodEvent *event)
+ if (preeditAreaText() != oldPreeditText)
+ emit displayTextChanged(preeditAreaText());
This bug was originally reported by me to the libuim bugtracker, where Etsushi Kato was nice enough to track down the issue and write a patch.
For the original bug report see here: http://bugs.freedesktop.org/show_bug.cgi?id=26265