[Uim-bugs] [Bug 26265] Slowness using uim in QT applications

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 6 06:12:34 PST 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26265


Etsushi Kato <ek.kato at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG




--- Comment #11 from Etsushi Kato <ek.kato at gmail.com>  2010-03-06 06:12:33 PST ---
(In reply to comment #10)
> I've just noticed the delay of displaying preedit text seem only existed on
> QLineEdit widget.  Inputting text on QTextEdit *does* work fine even with Qt
> 4.6.2.

For the bug in qlineedit, a patch for Qt 4.6.2 pasted below should fix the
problem.  It is a bug in QLineControl::updateDisplayText() which doesn't check
the existence of preedit text when updating the area. 


--- qt-kde-qt-mac/src/gui/widgets/qlinecontrol.cpp.orig 2010-02-17
12:18:04.0000
00000 +0900
+++ qt-kde-qt-mac/src/gui/widgets/qlinecontrol.cpp      2010-03-06
23:05:48.0000
00000 +0900
@@ -102,7 +102,7 @@
     m_textLayout.endLayout();
     m_ascent = qRound(l.ascent());

-    if (str != orig)
+    if (str != orig || !preeditAreaText().isEmpty())
         emit displayTextChanged(str);
 }


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the uim-bugs mailing list