From kmail-devel Sun Feb 24 15:13:18 2002 From: Toshitaka Fujioka Date: Sun, 24 Feb 2002 15:13:18 +0000 To: kmail-devel Subject: Bug#38112: Japanese input with kinput2 does not display X-MARC-Message: https://marc.info/?l=kmail-devel&m=101456407130143 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_6AM12EWU1C987LHDRVTM" --------------Boundary-00=_6AM12EWU1C987LHDRVTM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 -- --------------Boundary-00=_6AM12EWU1C987LHDRVTM Content-Type: text/x-diff; charset="iso-2022-jp"; name="qt-copy-changeInputStyle-20020218.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="qt-copy-changeInputStyle-20020218.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~ --------------Boundary-00=_6AM12EWU1C987LHDRVTM-- _______________________________________________ kmail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail