After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 135195 - Gtk+-2 with gdk-win32 doesn't support inline Japanese input
Gtk+-2 with gdk-win32 doesn't support inline Japanese input
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Input Methods
2.2.x
Other Windows
: High normal
: ---
Assigned To: Hidetoshi Tajima
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-02-23 10:08 UTC by Takuro Ashie
Modified: 2011-02-04 16:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Takuro Ashie 2004-02-23 10:08:23 UTC
Gtk+2 with gdk-win32 doesn't support inline Japanese (and maybe Chinese) input.
For that reason, it is too hard for Japanese user to use Gtk+2 on gdk-win32.
Windows backend of Gdk already supports Windows IME, but it's only supports
"off-the-spot" input style, and it only commits a first character of
pre-edit string. 

To solve this problem, we (Takuro Ashie, Kazuki IWAMOTO, Kenichi Suto) are
developing an im-modules named "imime" which works on Gtk+2 with gdk-win32. 

  http://sourceforge.jp/projects/imime/

It uses Windows IME as backend. 
It supports "on-the-spot" and "over-the-spot" input style, and of course it
can commit all characters of pre-edit string. 
It works on both Cygwin and native Windows.

This project is not completed yet, e.g. it's not supports ActiveIMM yet, but 
it works fine on our environment.

It's very important fix for Japanese user, so I propose to merge this code
to the original Gtk+'s source tree.

Regards,

Takuro Ashie
Comment 1 Tor Lillqvist 2004-02-24 01:08:04 UTC
Otherwise I haven't yet had a chance to look at this (based on the 
description, sounds good), but this:

> Windows backend of Gdk already supports Windows IME, [...] 
> only commits a first character of pre-edit string. 

I thought was fixed already (and included in GTK 2.2.4):

2003-07-25  Tor Lillqvist  <tml@iki.fi>
...
For WM_IME_COMPOSITION, handle all the Unicode chars returned from
the IME, not just the first one.


Comment 2 Takuro Ashie 2004-02-24 08:37:11 UTC
> I thought was fixed already (and included in GTK 2.2.4):

Sorry, I forgot it because I usually use Masahiro Sakai's Cygwin
binary (ver. 2.2.1).

But I still believe that these problems should be solved by im-module.
Comment 3 Owen Taylor 2004-03-05 15:43:02 UTC
This is very cool. We should make integrating this into GTK+-2.6
a priority.
Comment 4 Takuro Ashie 2004-03-08 13:14:09 UTC
Great! Thank you for your decision.

We'll continue polishing up it until development of gtk+-2.6.0 is started.
Comment 5 Matthias Clasen 2004-08-24 00:29:02 UTC
Takuro, the development of 2.6 is well underway, so now would be a good time to
integrate your input method into GTK+. If you don't object, we can simply take 
the files as found in the sf.net cvs repository and add them to gtk. Or you 
can provide a tarball of the CVSROOT, so that we can perform the necessary
surgery to keep cvs history. 
Comment 6 Takuro Ashie 2004-08-26 01:55:13 UTC
Of course I don't object, and I think it's not necessary to keep cvs history.
Please just pick up current files from sf.jp cvs repository.

There are remaining issues about this code as above, so we'll provide patches
for that issues later.

Thanks!
Comment 7 Matthias Clasen 2004-08-26 14:31:38 UTC
Ok, I've added the files now.