[Uim] uim-pref-qt

YAMAMOTO Kengo / YamaKen yamaken at bp.iij4u.or.jp
Mon Jul 31 01:13:59 PDT 2006


Hi Etsushi,

At Mon, 31 Jul 2006 12:45:09 +0900,
ek.kato at gmail.com wrote:
> 
> On 7/30/06, Tomohisa Irino <tomoirino at yahoo.co.jp> wrote:
> > > It seems it is a bug in uim-pref-qt that IM context with immodule
> > > enabled is used
> > > in key capture widget.  And I assume you assign C-j and Henkan_Mode to your
> > > default IM's mode change keys.
> >
> > Yes, exactly. I use C-j and/or Henkan_Mode both for IM on and off.
> > Actually, uim-pref-qt accepts C-j and Henkan_Mode under "direct" input mode.
> >
> > > I'll investigate how to solve the problem.  Thanks for reporting.
> >
> > I hope you will find a good way.
> 
> I've checked qt-immodule patch and cannot find a way to bypass IM
> context for a specific widget.
> 
> BTW, it can be said that this is a bug in qt-immodule.  In Fedora, the
> problem is not existed since they applied
> qt-x11-free-3.3.6-fix-key-release-event-with-imm.diff in their source
> package (qt-3.3.6-0.4.fc5.src.rpm).  With the patch, no IM context is
> created for widgets which don't require that (like key grab dialog).
> 
> So I leave uim-pref-qt unchanged at the moment.   YamaKen, if you know
> how to bypass IM context in some specific widgets, please let me know.

Although I don't know about latest implementation and
distribution-specific fixes of the immodule patch,
QWidget::setInputMethodEnabled() is suitable for such purpose if
the behavior around it is not changed since last I touched.

------------------------------------------------
YAMAMOTO Kengo / YamaKen  yamaken at bp.iij4u.or.jp
FAMILY   Given / Nick



More information about the uim mailing list