[immodule-qt] a environment variable to control the module

YamaKen yamaken at bp.iij4u.or.jp
Sun Jul 18 04:32:54 EEST 2004


Hi Leon, Hideki, thanks for the opinions.

At Fri, 16 Jul 2004 09:16:59 -0700 (PDT),
hiura at openi18n.org wrote:
> 
> > From: Leon Ho <llch at redhat.com>
> > Anyway, what do you guys think of adding a environment variable to
> > control which module to use for user to swap around between module
> > easily. (ie. QT_IM_MODULE=xim to load XIM etc) Is it a good idea?
> 
> In addition to all the other nice mechanism we've discussed, it is 
> also good in terms of consistency with gtk+ immodule, as it can be
> configured with the same framework.

I agree with you. Users will expect same mechanism as GTK+'s
because our implementation is named 'immodule'.

Following work is required.

- Decide the environment variable name
- Decide the precedence between the variable and qtrc
- Rename our identifier name 'XIM' to 'xim' to consistent with
  GTK+'s

I think that the name QT_IM_MODULE is appropriate. Although
there is a opinion that qt-immodule should reuse GTK_IM_MODULE
to reduce configuration cost for users, I think that it will
also introduce considerable confusion and traps.

I hope that the reduction of configuration cost will be achieved
by other sophisticated mechanism.

I think that the environment variable should have higher
precedence than qtrc.

-------------------------------
YamaKen  yamaken at bp.iij4u.or.jp



More information about the immodule-qt mailing list