[Uim-bugs] [Bug 26265] Slowness using uim in QT applications
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Mar 6 23:24:45 PST 2010
http://bugs.freedesktop.org/show_bug.cgi?id=26265
--- Comment #15 from Etsushi Kato <ek.kato at gmail.com> 2010-03-06 23:24:44 PST ---
(In reply to comment #14)
> (In reply to comment #12)
> > Apologies if this comes through as unrelated, but could this also explain the
> > bug at https://bugs.kde.org/show_bug.cgi?id=222620? Both were introduced at
> > roughly the same time, and if this patch to Qt4 fixes them both then that's
> > happy news.
> >
>
> I'm not sure as I haven't setup KDE yet. But I guess KWrite uses its own input
> method handling perhaps.
For the kwrite problem, changes in
kdelibs-4.4.0/kdelibs-4.4.0/kate/view/kateviewinternal.cpp seems to be culprit.
I think following patch is the right way to check what it should be. As far as
I tested, it fixes the problem with uim.
--- kateviewinternal.cpp.orig 2009-12-31 22:29:14.000000000 +0900
+++ kateviewinternal.cpp 2010-03-07 15:36:48.073367864 +0900
@@ -3778,7 +3778,7 @@
// if the input method event is text that should be inserted, call
KateDocument::typeChars() with
// the text. that method will handle the input and take care of overwrite
mode, etc.
- if ( e->commitString().length() > 0 && doc()->typeChars( m_view,
e->commitString() ) ) {
+ if ( e->commitString().length() > 0 && !m_imPreeditRange &&
doc()->typeChars( m_view, e->commitString() ) ) {
e->accept();
return;
}
But I'm not sure what the original code is intended, so please consult KDE
developer about this.
--
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