[ scim-Bugs-2493118 ] Input sometimes randomly stops working, with Qt and SCIM

1 message Options
Embed this post
Permalink
SourceForge.net

[ scim-Bugs-2493118 ] Input sometimes randomly stops working, with Qt and SCIM

Reply Threaded More More options
Print post
Permalink
Bugs item #2493118, was opened at 2009-01-08 03:31
Message generated for change (Comment added) made by shad_s
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=650539&aid=2493118&group_id=108454

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Other
Group: 1.4.x
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nicolas Raoul (nicolas_raoul)
Assigned to: ryo-dairiki (ryo-dairiki)
Summary: Input sometimes randomly stops working, with Qt and SCIM

Initial Comment:
How to reproduce:
1) On Ubuntu (Gnome) 2008.04 or 2008.10 with SCIM, open Anki (ichi2.net/anki software, mihgt also work with Konqueror).
2) Start using it (open/close windows, type).
3) Randomly and rarely, after minutes or hours, it becomes impossible to input anything, as if the keyboard did not work anymore. The keyboard is fine though, as I can still use other applications and SCIM works well.
4) The only workaround I have found is to close and restart Anki.

The issue is discussed here:
http://code.google.com/p/anki/issues/detail?id=207
https://bugs.launchpad.net/ubuntu/+source/scim/+bug/314937

I have seen this happening twice with Konqueror too, but I almost never use Konqueror so I can't really say whether it is usual.

Closing and reopening the window or application is the only workaround we've found. When I really don't want to close the application yet, I type in the Gnome text editor, copy, and right-click, paste into the application.

Anki's maintainer says it is a bug within Qt or SCIM.

Thanks !

----------------------------------------------------------------------

Comment By: Denis Dzyubenko (shad_s)
Date: 2009-03-25 11:28

Message:
madmagex: in my case switching focus to some other window with a mouse and
then switching it back to qt application solved the problem, so I didn't
need to kill scim.

----------------------------------------------------------------------

Comment By: Daniele Calisi (madmagex)
Date: 2009-03-25 11:20

Message:
Same problem here using Kubuntu 8.10 (KDE 4). When SCIM hangs, I killall
scim and then I am not able to have again SCIM working.

Also, I have a big confusion about scim, skim, scim-bridge, etc. and how
to use scim-launcher, im-switch etc.

Now I have these packages installed
$ dpkg -l | grep scim
ii  libscim8c2a                                1.4.7-3ubuntu10            
                library for SCIM platform
ii  scim                                       1.4.7-3ubuntu10            
                smart common input method platform
ii  scim-anthy                                 1.2.4-1.1                  
                SCIM IMEngine module for Anthy
ii  scim-bridge-agent                          0.4.14-2ubuntu5            
                IME server of scim-bridge communicate with S
ii  scim-bridge-client-gtk                     0.4.14-2ubuntu5            
                IME server of scim-bridge communicate with S
ii  scim-bridge-client-qt4                     0.4.14-2ubuntu5            
                IME server of scim-bridge communicate with S
ii  scim-gtk2-immodule                         1.4.7-3ubuntu10            
                GTK+2 input method module with SCIM as backe
ii  scim-modules-socket                        1.4.7-3ubuntu10            
                socket modules for SCIM platform
ii  scim-modules-table                         0.5.7-3                    
                generic tables IM engine module for SCIM pla
ii  scim-qtimm                                 0.9.4-2ubuntu3            
                SCIM context plugin for qt-immodule
ii  scim-tables-ja                             0.5.7-3                    
                Japanese input method data tables for SCIM p

and my QT_IM_MODULE is xim (what is xim, anyway?)

the first thing that I need to know is how to restart scim, after a
killall (scim-launcher? does not work)

----------------------------------------------------------------------

Comment By: Denis Dzyubenko (shad_s)
Date: 2009-03-11 13:49

Message:
I saw the same problem with SCIM in Qt applications, however after
switching to scim-bridge-qt4 the problem disappeared.

----------------------------------------------------------------------

Comment By: Nicolas Raoul (nicolas_raoul)
Date: 2009-02-03 16:41

Message:
Right now "echo $QT_IM_MODULE" says "xim".
I will try using the application with both settings for comparison. It
might not be very easy because the bug does not appear often.
Thanks!

----------------------------------------------------------------------

Comment By: ryo-dairiki (ryo-dairiki)
Date: 2009-02-03 16:32

Message:
Firstly, please check if QT_IM_MODULE is set to scim-bridge.
You can check it by run "echo $QT_IM_MODULE" on the terminal.
Second, you can get rough debug output by setting SCIM_BRIDGE_DEBUG_LEVEL
into 9.
Please test the following cases on the terminal, and report me the
result:

1. Use SCIM through XIM
export QT_IM_MODULE=xim
export SCIM_BRIDGE_DEBUG_LEVEL=9
konsole (or any kde application)

2. Use SCIM through SCIM-Bridge-Qt4
export QT_IM_MODULE=scim-bridge
export SCIM_BRIDGE_DEBUG_LEVEL=9
konsole

----------------------------------------------------------------------

Comment By: Nicolas Raoul (nicolas_raoul)
Date: 2009-01-21 13:46

Message:
Hello ryo-dairiki, thanks for your reply !

Ubuntu does not have any "SCIM-Bridge-Qt4" package.
I already have scim-bridge-client-gtk installed, I will try to install
scim-bridge-client-qt4 as well.
Is that what you meant ?
Please note that I do not use KDE4, just a Qt4 application in a Gnome
environment.

I am not really sure whether I use XIM or not, here is the result of
"im-switch -l" :

Your input method setup under en_US locale as below.
=======================================================
The configuration "/home/nico/.xinput.d/en_US" is defined as a link
pointing to
scim-bridge
This private configuration supersedes the system wide default.
=======================================================
The system wide default is pointed by "/etc/alternatives/xinput-all_ALL"
.
xinput-all_ALL - status is auto.
 link currently points to default
default - priority 10
default-xim - priority 0
none - priority 0
Current `best' version is default.
=======================================================
The available input method configuration files are:
default default-xim none scim scim-bridge scim-immodule th-xim
=======================================================

Thank you !
Nicolas Raoul.

----------------------------------------------------------------------

Comment By: ryo-dairiki (ryo-dairiki)
Date: 2009-01-08 16:48

Message:
I think you use SCIM through XIM.
Please try SCIM-Bridge-Qt4, and tell me the result.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=650539&aid=2493118&group_id=108454

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Scim-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-user