Re: IM-related issues on openSUSE 12.1 Beta
Fuminobu TAKEYAMA <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <[email protected]> |
> The problem is how large is the breakage by this update. Do you have
> a list of broken packages?
I tried to build ibus-* packages. (Not all)
https://build.opensuse.org/project/show?project=home%3Aftake%3Aibus-14
ibus-hangul, ibus-pinyin and ibus-unikey failed to build.
Fortunately, the reasons are the same; the signatuire of the
ibus_config_get_value function was changed.
Here is a patch for ibus-hangul:
https://github.com/choehwanjin/ibus-hangul/pull/3
Also we might find patches in Fedora project.
Note: ibus-anthy and ibus-mozc have no problem. (I'm using them)
> So, the situation is similar like the current ibus, right?
> Maybe we need to ask GNOME guys for a simple solution.
Uhm...
Now the following xim.d/uim works on KDE4
but on GNOME, after first login, "ps -ef | grep uim" says:
geeko 1716 1679 0 01:04 ? 00:00:00 uim-xim
geeko 1717 1679 0 01:04 ? 00:00:00 [uim-toolbar-gtk] <defunct>
geeko 1745 1 0 01:04 ? 00:00:00 /usr/lib/uim/uim-helper-server
What is strange is that after log out and log in again, the systray is
displayed successfully.
uim-toolbar-gtk3-systray is well integrated in GNOME3.
######
export XMODIFIERS="@im=uim"
export GTK_IM_MODULE=uim
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=uim
uim-xim &
case "$WINDOWMANAGER" in
*kde*)
uim-toolbar-qt4 &;;
*)
uim-toolbar-gtk3-systray &;;
esac
######
> A simple patch like below might work? Then we can set xim to
> GTK3_IM_MODULE while scim to GTK_IM_MODULE.
> I created a branch and building the package now for testing in
> OBS home:tiwai:branches:GNOME:Factory/gtk3 repo.
> Can anyone check (sorry I have no time right now).
> But the problem isn't only about SCIM but may hit other IMs, too.
> So, a fallback mechanism would be nicer.
Very simple patch!
I set variables like:
GTK3_IM_MODULE=xim
GTK_IM_MODULE=scim-bridge
XMODIFIERS="@im=SCIM"
It works fine for gedit (Gtk3, fall back to xim), firefox and chromium
(Gtk2).
However, if I set "GTK_IM_MODULE=scim",
firefox outputs errors that are similar to:
https://bugzilla.novell.com/show_bug.cgi?id=680430
> One may try an unofficial scim-gtk3 patch, too.
> http://www.csie.ntu.edu.tw/~b90093/tmp/debian/gtk3.diff
I also found another patch here:
http://sourceforge.net/tracker/?func=detail&aid=3407286&group_id=108454&atid=650541
Fuminobu TAKEYAMA
(2011/10/10 18:42), Takashi Iwai wrote:
> Takeyama-san,
>
> thanks for heading up!
>
> I added some relevant guys to Cc.
>
> [As a background: we've discussed shortly in the last week about these
> topics in opensuse-ja ML, now moved to here to discuss more widely.]
>
>
> At Mon, 10 Oct 2011 18:13:41 +0900,
> Fuminobu TAKEYAMA wrote:
>>
>> Hi all,
>>
>> Several issues related to IM are still remaining on 12.1 Beta.
>>
>>
>> 1. IBus should be updated to 1.4.0
>>
>> IBus supports GNOME 3 in the latest release, 1.4.0.
>> IBus status icon is now well integrated to the toolbar displayed on the
>> top of desktop. (I do not know its name)
>>
>> In Fedora 15, snapshot version of 1.4.0 was shipped to support GNOME 3.
>>
>>
>> In order to update, we have to consider below:
>> (a) Since libibus2 was renamed, some IM-engine packages must be fixed.
>> (b) 1.4.0 requires newer glib; openSUSE 11.3 does not have it.
>>
>>
>> I am ready to submit ibus-1.4.0 to M17N.
>> You can get it from
>> https://build.opensuse.org/package/show?package=ibus&project=home%3Aftake%3Abranches%3AM17N
>>
>> May I submit 1.4.0 to M17N? Or any idea?
>
> I'm for upgrading. The lack of 11.3 support is a minor issue compared
> with the lack of GNOME3 support.
>
> The problem is how large is the breakage by this update. Do you have
> a list of broken packages?
>
>
>> 2. xim.d/uim is broken.
>>
>> Tray icons are not displayed on neither GNOME 3 nor KDE 4.
>> This simple script works correctly only on GNOME 3:
>>
>> export XMODIFIERS="@im=uim"
>> export GTK_IM_MODULE=uim
>> export QT_IM_SWITCHER=imsw-multi
>> export QT_IM_MODULE=uim
>> uim-xim&
>> uim-toolbar-gtk3-systray&
>
> So, the situation is similar like the current ibus, right?
> Maybe we need to ask GNOME guys for a simple solution.
>
>
>> 3. uim crashes while launching firefox
>>
>> $ GTK_IM_MODULE=uim firefox
>> cause segmentation fault at compose.c:633.
>>
>> I cannot reproduce this problem on 11.4.
>> So I do not know if this is upstream bug or not.
>> (needs more information)
>
> UIM tends to be problematic, indeed. I've got a crash of firefox
> sometime ago, but it's before upgrading uim.
>
>
>> 4. cannot input characters through IM in the search box
>> on GNOME 3's "Activity" tab.
>>
>> I reported to upstream:
>> https://bugzilla.gnome.org/show_bug.cgi?id=647707
>>
>> I created a patch based on
>> https://bugzilla.gnome.org/show_bug.cgi?id=621659
>> but it enables only direct input while IM is activated:
>> https://build.opensuse.org/package/show?package=gnome-shell&project=home%3Aftake%3Abranches%3AGNOME%3AFactory
>
> This sounds more like a GNOME issue.
>
>
>> 5. xim.d/scim exports GTK_IM_MODULE=scim although SCIM does not provide
>> its GTK3 IM module
>>
>> GTK2 applications such as Firefox needs this.
>> GTK3 applications try to use another IM (maybe not xim).
>>
>> Any good idea? Is it OK?
>
> A simple patch like below might work? Then we can set xim to
> GTK3_IM_MODULE while scim to GTK_IM_MODULE.
> I created a branch and building the package now for testing in
> OBS home:tiwai:branches:GNOME:Factory/gtk3 repo.
> Can anyone check (sorry I have no time right now).
>
> One may try an unofficial scim-gtk3 patch, too.
> http://www.csie.ntu.edu.tw/~b90093/tmp/debian/gtk3.diff
>
> But the problem isn't only about SCIM but may hit other IMs, too.
> So, a fallback mechanism would be nicer.
>
>
> thanks,
>
> Takashi
>
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]