SCIM is incompatible with Firefox flashgot plugin

Bug #276159 reported by robinl
18
Affects Status Importance Assigned to Milestone
scim-bridge (Ubuntu)
Fix Released
Medium
Rolf Leggewie

Bug Description

Binary package hint: firefox-3.0

In Firefox 3.0.3 installed from official Intrepid repos SCIM fails to work. I can't enable SCIM by ctrl+space nor switch IME in SCIM while in Firefox, but SCIM works everywhere else (tested on gedit, gnome-terminal). Firefox terminal output shows errors relating to SCIM:

$ firefox
/usr/bin/scim
The messenger is now down
The messenger is now down
The messenger is now down
The messenger is now down

(firefox:9978): Gtk-WARNING **: Theme directory scalable/animations/small/16x16 of theme oxygen has no size field

(firefox:9978): Gtk-WARNING **: Theme directory scalable/animations/small/22x22 of theme oxygen has no size field

The messenger is now down
The messenger is now down
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
/usr/bin/scim
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
/usr/bin/scim
/usr/bin/scim
/usr/bin/scim
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
An IOException occurred at scim_bridge_client_imcontext_set_cursor_location ()
... and so on

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: firefox-3.0 3.0.3+build1+nobinonly-0ubuntu1
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_NZ.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.27-4-generic i686

Tags: apport-bug
Revision history for this message
robinl (robin4home) wrote :
Revision history for this message
robinl (robin4home) wrote :

Actually the problem had gone away by itself. Sorry for the trouble.

Revision history for this message
robinl (robin4home) wrote :

problem gone away

Changed in firefox-3.0:
status: New → Invalid
Revision history for this message
Kapis (capiscuas) wrote :

I still have this problem, my SCIM in kubuntu 8.04 doesn't work with firefox 3.0.3 , the same way it does with kterminal or kwrite, etc

The workaround I found in the internet is doing calling firefox this way:

XMODIFIERS='@im=SCIM' GTK_IM_MODULE="scim" LC_CTYPE=en_US.UTF-8 firefox

My /etc/X11/xinit/xinput.d/scim file likes like this:

XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
GTK_IM_MODULE=scim-bridge
QT_IM_MODULE=scim-bridge
DEPENDS="scim,scim-anthy|scim-canna|scim-chewing|scim-pinyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"

Revision history for this message
Pascal B. (pbuescher) wrote :

At least for me this does not only affect firefox, but also gedit, openoffice and probably every other app using gtk. For some reason kde apps work w/o any problem...

The workaround posted above works for me too. Not only for firefox, but (at least) also for gedit.

Revision history for this message
Erwan Loisant (eloisant) wrote :

Same here - by default in my env I have GTK_IM_MODULE=scim-bridge (and no scim in my GTK apps) but if I change that to GTK_IM_MODULE=scim then it works.

Revision history for this message
Arne Goetje (arnegoetje) wrote :

If you are using Intrepid:

I have a new package in my ppa.

Please go to System -> Administration -> Software Sources and in the Third-Party Software add the following link:

deb http://ppa.launchpad.net/arnegoetje/ubuntu intrepid main

Then please update scim-bridge and test if this solves the issue.

Also, if you use KDE4, please purge skim from your system as it is known to cause trouble in KDE4.

Thanks.

Revision history for this message
Pascal B. (pbuescher) wrote :

Thank you very much for your packages! For me it seems to solve the problem.

btw, in my /etc/X11/xinit/xinput.d/scim I had the setting GTK_IM_MODULE=xim...

Changed in scim-bridge:
status: Invalid → New
Revision history for this message
Conor (ronocdh) wrote :

Any more information available regarding KDE4 and SCIM? I love SCIM and would actually consider going back to GNOME if it meant better performance.

Revision history for this message
Erwan Loisant (eloisant) wrote :

Conor: this bug was only for GTK applications, I don't use KDE but believe it never stopped working (with SKIM).

Regarding this bug in general, it's now fixed for me from a software update. Maybe someone noticed the bug and fixed it without seeing this report? Is it fixed for everyone here?

Revision history for this message
wwszww (wwszww) wrote :

 I also have this question, sometimes scim cannot work in(only in) fiirefox, for instance, I just login a website today, then scim could not input Chinese.
xsession-errors:
Unknown message: No such IMContext
Failed to receive messages at scim_bridge_client_read_and_dispatch ()
An IOException at scim_bridge_client_handle_key_event ()
An IOException at filter_key_event ()
An IOException at key_snooper ()
Unknown message: No such IMContext
Unknown message: An invalid char is given at scim_bridge_string_to_uint (): -
Unknown message: Invalid message: Close the connection.
The messenger is now down
The messenger is now down
The messenger is now down

/etc/X11/xinit/xinput.d/scim:
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
DEPENDS="scim,scim-anthy|scim-canna|scim-chewing|scim-pinyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"

i close firefox,use scimconfigpanel to "apply,reload config", so scim to normal

Revision history for this message
wwszww (wwszww) wrote :

ubuntu gnome 8.1 kernel 2.2.6.27-8
mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.0.4) Gecko/2008110400 Ubuntu/8.10 (intrepid) Firefox/3.0.4

Nov 14 11:27:56 wubuntu kernel: [ 5016.858495] scim-bridge[5475]: segfault at 10 ip b7ec0931 sp bfe89550 error 4 in libscim-1.0.so.8.2.3[b7e83000+c6000]
Nov 14 11:28:16 wubuntu Cleanup, done. Exitting...
Nov 14 11:28:38 wubuntu kernel: [ 5059.210215] scim-bridge[9325]: segfault at 10 ip b7fb2931 sp bff7a7c0 error 4 in libscim-1.0.so.8.2.3[b7f75000+c6000]
Nov 14 11:29:07 wubuntu Cleanup, done. Exitting...
Nov 14 11:31:22 wubuntu kernel: [ 5223.162300] scim-bridge[9362]: segfault at 10 ip b7ecf931 sp bfc972a0 error 4 in libscim-1.0.so.8.2.3[b7e92000+c6000]

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Anything left to be done here?

scim setup can be tricky. For those having issues, have you read the docs under /usr/share/doc/scim*/* ?

Changed in scim-bridge (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
Revision history for this message
wwszww (wwszww) wrote :

sorry ,reply late。
I found the problem and may be a conflict between firefox plug-ins:“flashgot“, I uninstalled ”flashgot“, scim will be able to work normal。
I repeat this process several times,the results obtained。

Revision history for this message
王志航 (xxthink) wrote :

I also encountered this problem. I uninstalled "flashgot" and the scim works normal now.

Rolf Leggewie (r0lf)
summary: - SCIM stops working in Firefox
+ SCIM is incompatible with flashgot plugin
summary: - SCIM is incompatible with flashgot plugin
+ SCIM is incompatible with Firefox flashgot plugin
Changed in scim-bridge (Ubuntu):
assignee: Rolf Leggewie (r0lf) → nobody
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Can you please reactivate the flashgot plugin and see if the scim packages in https://launchpad.net/~r0lf/+archive/hardy fix the issue?

Changed in scim-bridge (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
Revision history for this message
Rolf Leggewie (r0lf) wrote :

I will assume now that this is no longer an issue. Please reopen if that is not the case.

Changed in scim-bridge (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.