Mailinglist Archive: opensuse-m17n (27 mails)

< Previous Next >
Re: [opensuse-m17n] IM-related issues on openSUSE 12.1 Beta
At Tue, 11 Oct 2011 02:34:04 +0900,
Fuminobu TAKEYAMA wrote:

> 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

Looks relatively easy to fix.


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
######

Hm, can it be some race?


> 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).

Good to hear.

Vincent, what do you think? Can it be accepted to the upstream and
eventually put into 12.1?


However, if I set "GTK_IM_MODULE=scim",
firefox outputs errors that are similar to:
https://bugzilla.novell.com/show_bug.cgi?id=680430

Does GTK_IM_MODULE=scim work at all? I doubt that the problem remains
from 11.4 unfixed, but no one didn't care (and experience) because
usually scim-bridge is used instead. Maybe upgrading scim to the
latest version fixes the issue?

> 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

This might be the original patch.
The question is whether the code quality is good enough.


thanks,

Takashi

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: opensuse-m17n+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-m17n+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation