Bug 712309 - SCIM cannot be invoked from Firefox
Summary: SCIM cannot be invoked from Firefox
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL: https://aur.archlinux.org/packages.ph...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-10 09:10 UTC by Petr Pisar
Modified: 2011-12-07 15:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-07 14:11:48 UTC
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 643326 0 None None None Never

Description Petr Pisar 2011-06-10 09:10:53 UTC
firefox-4.0.1-2.fc15.x86_64
scim-1.4.9-8.fc15.x86_64
scim-gtk-1.4.9-8.fc15.x86_64
gtk2-2.24.4-1.fc15.x86_64
glib-1.2.10-34.fc15.x86_64
gobject-introspection-0.10.8-1.fc15.x86_64

When starting firefox I get message to stderr:

(firefox:2607): GLib-GObject-WARNING **: plugin '/usr/lib64/gtk-2.0/immodules/im-scim.so' failed to register type 'GtkIMContextSCIM'

(firefox:2607): Gtk-WARNING **: Loading IM context type 'scim' failed
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.


and then I cannot invoke SCIM by pressing ctrl-space when editing an text.

It still works in plain GTK applications (e.g. gtk-demo).

My environment is:

GTK_IM_MODULE=scim
QT_IM_MODULE=xim
XMODIFIERS=@im=SCIM
LANG=cs_CZ.UTF-8

and /etc/scim/global contains:

/SupportedUnicodeLocales = en_US.UTF-8,cs_CZ.UTF-8

and then the default configuration.

Comment 1 Petr Pisar 2011-06-15 06:42:45 UTC
According to comments for a Aur package scim-bridge <https://aur.archlinux.org/packages.php?ID=20294>, installing scim-bridge-gtk and using it as default GTK IM (export GTK_IM_MODULE=scim-bridge instead of plain GTK_IM_MODULE=scim) solves the problem for Firefox 4.

Pure GTK applications works with both methods.

Comment 2 Martin Stransky 2011-12-07 14:11:48 UTC
Fixed in SCIM - https://bugzilla.novell.com/show_bug.cgi?id=680430

Comment 3 Petr Pisar 2011-12-07 14:32:39 UTC
I don't understand you resolution. I reported this issue against Firefox inhibiting scim, and you answered by patch for scim-bridge (different package, different sources) pointing to some other Linux distributor (Novell is not not scim nor scim-bridge nor Firefox upstream).

I use Fedora 16 now and plain scim still does not work in Firefox (scim-1.4.11-1.fc16.x86_64, scim-gtk-1.4.11-1.fc16.x86_64, firefox-8.0-3.fc16.x86_64).

Comment 4 Martin Stransky 2011-12-07 14:57:11 UTC
I see. But if you want to set GTK_IM_MODULE=scim-bridge instead of
GTK_IM_MODULE=scim it should be reported against component which manages such settings for all applications (like imsettings).

Comment 5 Petr Pisar 2011-12-07 15:33:59 UTC
I have no idea what imsettings does. I have no problem with scim-bridge. I have problem with scim support in Firefox. I've just upgraded Firefox and new Firefox has stopped to work with the same scim, so I guess this is a problem within Firefox, thus I assigned this report to Firefox. If you think this is not a Firefox problem, then reassign it to scim component.


Note You need to log in before you can comment on or make changes to this bug.