Comment 2 for bug 343659

Revision history for this message
seemu (davidvonpku) wrote :

FYI, there has been suspects that the bug comes from SCIM,

(1)
see bug report from Qt-creator user
http://lists.trolltech.com/pipermail/qt-creator/2009-March/002320.html
(2)
Solution proposed by the Qt-creator Task-Tracker:
http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=214144

Copied from the task-tracker

Description

Input from keyboard may stop working input fields on X11 when using an XIM input method like SCIM. This can be reproduced with the application example when having the XMODIFIER environment variable set and holding a key down while pressing the "save" or "save as" menu entry. This makes it impossible to input anything in the QLineEdit of the QFileDialog.

Won't fix:
The problem only occurs whe using SCIM via XIM (X Input Method). This doesn't happen when using a Qt IM module like scim-bridge. So the workaround is to set scim-bridge immodule as the Qt's default input method by either setting enviroment variable 'QT_IM_MODULE=scim-bridge' or adding a configuration option 'DefaultInputMethod=scim-bridge' to $HOME/.config/Trolltech.conf configuration file under the 'Qt' section.

(3) I installed scim-bridge-client-qt4, and then set the environment variable 'QT_IM_MODULE=scim-bridge'. It solved the problem.

My configuration:
Ubuntu 9.04
2.6.28-14-server
Qt-Creator 1.0.0 (9.04 distribution)
scim-bridge-client-qt4: 0.4.14-2ubuntu5