[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Bug#38112: Japanese input with kinput2 does not display
From:       Toshitaka Fujioka <toshitaka () kde ! gr ! jp>
Date:       2002-02-24 15:13:18
[Download RAW message or body]

On Thursday 21 February 2002 19:39, Mike Fabian wrote:
[snip]
> mfabian> gvim (the graphical version of Vim) also supports OnTheSpot input
> but mfabian> has the same problems as Qt3.
> mfabian>
> mfabian> At least there is a workaround for gvim:
> mfabian>
> mfabian>     /usr/X11R6/bin/gvim --xim-preedit position
> mfabian>
> mfabian> with the option '--xim-preedit position', OverTheSpot input is
> used mfabian> again. As long as OnTheSpot input doesn't work perfectly,
> mfabian> OverTheSpot input is preferable for Japanese.
> mfabian>
> mfabian> Is there a similar workaround for Qt3/KDE3?

Yes, Please use attached patch.
This patch changes an input style of default in OverTheSpot.

Or use --inputstyle overthespot.
For example: kmail --inputstyle overthespot

I sent the patch (read an input style of default from qtrc file) to TrollTech.
TrollTech said: This is an idea, I've put it on my todo list for 3.1.
-- 
Toshitaka Fujioka
http://www.kde.org                The K Desktop Environment Project
                                                    fujioka@kde.org
http://www.kde.gr.jp               Japan KDE User's Group
                                                    toshitaka@kde.gr.jp

-- A journey of a thousand miles must begin with a single step.  Lao-zi --  


["qt-copy-changeInputStyle-20020218.diff" (text/x-diff)]

diff -ur qt-copy.orig/src/kernel/qapplication_x11.cpp qt-copy/src/kernel/qapplication_x11.cpp
--- qt-copy.orig/src/kernel/qapplication_x11.cpp	Mon Feb 18 22:05:35 2002
+++ qt-copy/src/kernel/qapplication_x11.cpp	Mon Feb 18 22:09:34 2002
@@ -376,8 +376,8 @@
 #if !defined(QT_NO_XIM)
 XIM		qt_xim			= 0;
 XIMStyle	qt_xim_style		= 0;
-// static XIMStyle	xim_preferred_style	= XIMPreeditPosition | XIMStatusNothing;
-static XIMStyle	xim_preferred_style	= XIMPreeditCallbacks | XIMStatusNothing;
+static XIMStyle	xim_preferred_style	= XIMPreeditPosition | XIMStatusNothing;
+// static XIMStyle	xim_preferred_style	= XIMPreeditCallbacks | XIMStatusNothing;
 #endif
 
 static int composingKeycode=0;
Only in qt-copy/src/kernel: qapplication_x11.cpp~

_______________________________________________
kmail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic