[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#557555: [Qt] Qt applications don't heed global QT_IM_MODULE



On Domingo 22 Noviembre 2009 15:43:35 Kai Wasserbäch escribió:
> Package: libqtcore4
> Version: 4:4.5.3-4
> Severity: normal
> 
> Dear Qt maintainers,
> I've recently installed Debian for somebody needing support for entering
> traditional Chinese characters. I chose iBus to allow that and works great
>  so far. To enable iBus at login time there is a small one-liner in the
>  .kde4/Autostart directory and three lines in the .bashrc, including
> 
> > export QT_IM_MODULE=ibus
> 
> And while Gtk+ or X applications honer the exported variable and allow iBus
>  to be activated for them, Qt applications don't.
> 
> A workaround for the time being is to start any Qt application from e.g.
> terminal with
> 
> > QT_IM_MODULE=ibus [APPLICATION]&
> 
> where [APPLICATION] is replaced by the application's name, e.g. kwrite.
> 
> This behaviour was observed with KWrite, Skype and some other Qt-based
> applications. Gtk+-based applications like Pidgin or Iceweasel work as
>  expected (hitting Ctrl + space activates the iBus input method).
> 
> If you should need further information, please feel free to ask me, I'll
>  run the tests and return the information ASAP.
> 
> Kind regards,
> Kai Wasserbäch
> 
> P.S.: Setting QT4_IM_MODULE doesn't help either.
> 
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (900, 'testing')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.31.6-cabal
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored:
>  LC_ALL set to de_DE.UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages libqtcore4 depends on:
> ii  libc6                  2.10.1-7          GNU C Library: Shared
>  libraries ii  libgcc1                1:4.4.1-4         GCC support library
> ii  libglib2.0-0           2.22.2-2          The GLib library of C routines
> ii  libstdc++6             4.4.1-4           The GNU Standard C++ Library
>  v3 ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library -
>  runtime
> 
> libqtcore4 recommends no packages.
> 
> libqtcore4 suggests no packages.
> 
> -- no debconf information
> 

You should use «im-switch» to set the necessary variables per user or global 
config.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: