[Uim] uim-pref-qt

Etsushi Kato ek.kato at gmail.com
Mon Jul 31 01:40:03 PDT 2006


On 7/31/06, YAMAMOTO Kengo / YamaKen <yamaken at bp.iij4u.or.jp> wrote:
> > 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.

Thanks for the information.  I think inputMethodEnabled value in the
key capture widget is already set false.  But current qt-immodule
patch seems to create a input context regardless of the value.
Fedora's patch contains a following block, and it fixed the problem.

@@ -2754,10 +2753,8 @@
 */
  void QWidget::createInputContext()
 {
-#if !defined(QT_NO_IM_EXTENSIONS)
     if( !isInputMethodEnabled() || QApplication::closingDown() )
        return;
-#endif

     QWidget *icWidget = icHolderWidget();
  #ifndef QT_NO_IM

Cheers,
-- 
Etsushi Kato
ek.kato at gmail.com



More information about the uim mailing list