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 264485 - CJK input gets replicated in Evolution Cal
CJK input gets replicated in Evolution Cal
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
1.5.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: SUN MUD TEAM
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2004-08-30 09:05 UTC by Lawrence Lim
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot in the ja locale (72.30 KB, image/png)
2004-08-30 09:06 UTC, Lawrence Lim
  Details
Another patch (1.28 KB, patch)
2006-05-11 03:08 UTC, Hiroyuki Ikezoe
none Details | Review
Patch to tackle preedit buffer problem (461 bytes, patch)
2006-05-19 10:39 UTC, makuchaku
none Details | Review
The problem screenshot (151.19 KB, image/png)
2006-07-20 07:55 UTC, makuchaku (Mayank)
  Details
this will clear any doubts (173.73 KB, image/png)
2006-07-21 07:50 UTC, makuchaku (Mayank)
  Details
Yet another patch (2.28 KB, patch)
2006-07-21 11:22 UTC, makuchaku (Mayank)
none Details | Review
Combined patch (2.78 KB, patch)
2006-07-25 10:18 UTC, makuchaku (Mayank)
none Details | Review
Patch updated to coding conventions (2.78 KB, patch)
2006-07-26 06:39 UTC, makuchaku (Mayank)
none Details | Review
My e-text.c (99.92 KB, text/plain)
2006-07-26 07:09 UTC, makuchaku (Mayank)
  Details
update patch (1.21 KB, patch)
2006-07-27 00:12 UTC, Hiroyuki Ikezoe
none Details | Review
cvs diff -u8p e-text.c (2.23 KB, patch)
2006-07-31 10:40 UTC, makuchaku
none Details | Review
Working patch for this bug (6.21 KB, patch)
2006-08-10 08:57 UTC, makuchaku (Mayank)
needs-work Details | Review

Description Lawrence Lim 2004-08-30 09:05:59 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
In CJK locale, input characters gets replicated when they are not
comitted.

Steps to reproduce the problem:
1.Select any CJK locale at gdm and log in (in this example, we use Japan)
2.Start Evolution -> Select Cal
3.Ctrl+SPACE to activate the Language Engine
4.Single click any of the time widget and enter 'aka' 
5.Repeat Step 4, you should see the charcters replicating 

Actual Results:
Please refer to screen shot

Expected Results:
Characers does not get replicated.


How often does this happen? 
Always

Additional Information:
Comment 1 Lawrence Lim 2004-08-30 09:06:50 UTC
Created attachment 44135 [details]
screenshot in the ja locale
Comment 2 Dave Malcolm 2005-01-20 22:19:29 UTC
Also reported downstream here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131227
Comment 3 Harry Lu 2005-04-21 02:35:25 UTC
Yong, can you take a look at this bug?
Comment 4 Yong Sun 2005-04-25 07:01:43 UTC
It seems that e-day-view.c::e_day_view_do_key_press () does not pass this key
press to gtk immodule.
Comment 5 Yong Sun 2005-04-26 10:42:53 UTC
--- e-day-view.c.orig   2004-11-30 11:17:51.000000000 +0800
+++ e-day-view.c.new    2005-04-26 18:10:10.550333288 +0800
@@ -5761,8 +5761,27 @@ e_day_view_do_key_press (GtkWidget *widg

        cal_component_get_uid (comp, &uid);
        if (e_day_view_find_event_from_uid (day_view, uid, &day, &event_num)) {
+               gboolean im_handled = FALSE;
+               EDayViewEvent *edv_event = NULL;
+               GtkIMContext *im_context = NULL;
+
+               if (day == E_DAY_VIEW_LONG_EVENT) {
+                       edv_event = &g_array_index (day_view->long_events,
EDayViewEvent,
+                                                   event_num);
+                } else {
+                       edv_event = &g_array_index (day_view->events[day],
EDayViewEvent,
+                                                   event_num);
+                }
+
+               if (edv_event->canvas_item)
+                       g_object_get (G_OBJECT (edv_event->canvas_item),
+                                     "im_context", &im_context,
+                                     NULL);
+
+               im_handled = im_context? gtk_im_context_filter_keypress
(im_context, (GdkEventKey*)event): FALSE;
+
                e_day_view_start_editing_event (day_view, day, event_num,
-                                               initial_text);
+                                               im_handled? NULL: initial_text);
        } else {
                g_warning ("Couldn't find event to start editing.\n");
        }
Comment 6 Yong Sun 2005-04-26 10:45:23 UTC
Suresh, could you please look at this patch? 

And, if iiim is used as the im module of gtk, gtk_im_context_filter_keypress ()
always return true (even before the IM is activated by ctrl+space), while xim
works fine in this case.
Comment 7 suresh 2005-04-26 23:13:20 UTC
Hi Yong,
From a quick look I think similar issues may be there in week/month views, did
you test them ?

I have found some weird behaviours with month view when trying to input
japanese. Check it, I think we need to have a fix for all those calendar input
issues together.

Pl. let me know if you need any help, I will be away for a while on a vacation,
but ofcouse if this one do affect all views we can make it a stopper and fix it
in one of the later builds in  Cinnabar itself.
Comment 8 suresh 2005-04-26 23:15:06 UTC
Sorry for those comments about Cinnabar, I just forgot this is gnome bugzilla. :(
Comment 9 Yong Sun 2005-04-27 03:28:16 UTC
Hi, Suresh,

I just found this fix also affects "Work Week" view. While weekly and monthly
view don't have this problem. :)
Comment 10 Akira TAGOH 2006-02-17 13:41:03 UTC
just tried this on evolution 2.5.90 and *this* behavior has been gone. but another problem appears to me. first character after clicking another timeslot during preediting is always ASCII, but second one is entering into the preedit.
Comment 11 Akira TAGOH 2006-02-21 12:04:40 UTC
my previous comment was possibly false alarm. this problem still appears on 2.5.90. but why I haven't seen is, I used the global IC feature on scim to share the IC between applications. sorry for confusion.
Comment 12 Hiroyuki Ikezoe 2006-05-11 03:08:17 UTC
Created attachment 65213 [details] [review]
Another patch

Call reset_layout() when disconnecting signals to IMContext and draw preedit string only when connecting signals to IMContext.

This patch includes bug 341354. (memory leak fix)
Comment 13 Hiroyuki Ikezoe 2006-05-11 03:12:43 UTC
I think my patch works fine about this bug, but there is another bug that the preedit string (not commited yet) does not appear when focus changes to other EText.
Comment 14 makuchaku 2006-05-19 10:39:45 UTC
Created attachment 65816 [details] [review]
Patch to tackle preedit buffer problem

Hi, this patch seemingly removes the preedit buffer duplication problem.
Kindly have a look.

Thanks,
Makuchaku
Comment 15 Hiroyuki Ikezoe 2006-05-19 11:16:23 UTC
(In reply to comment #14)

The document of gtk_im_context_reset in GTK+ Reference Manual is this:

"This will *typically* cause the input method to clear the preedit state."

Your patch does not work well in some cases.
Comment 16 makuchaku 2006-05-23 06:01:01 UTC
Hi,

What can be such cases? I would love to know & improve my patch.

Thanks,
Makuchaku
Comment 17 Hiroyuki Ikezoe 2006-05-23 07:59:39 UTC
(In reply to comment #16)

Implementation of gtk_im_reset depends on im module. In other words, application (Evolution in this case) should not expect preedit clearance.

For the reason, solution of this issue is that EText widget does not draw preedit strings if not connected to IMContext. It is my patch solution.
Comment 18 makuchaku 2006-05-24 07:12:48 UTC
(In reply to comment #17)
> For the reason, solution of this issue is that EText widget does not draw
> preedit strings if not connected to IMContext. It is my patch solution.
> 

Hi,

I applied your patch, which is essentially these two changes...

+	if (text->im_context_signals_registered)
+		insert_preedit_text (text);

AND

+	save_text->im_context_signals_registered = FALSE;
+	reset_layout (save_text);

After building evo, I was still able to reproduce the problem.

Am i missing something here?

Thanks,
makuchaku

Comment 19 Hiroyuki Ikezoe 2006-05-24 08:48:05 UTC
Realy? 
I've never met the issue after my patch has applied.
Comment 20 makuchaku 2006-05-24 08:54:58 UTC
After looking at gtk_im_context_reset documentation & its implementation in gtk code, i somwhat agree with your viewpoint.

But the problem still persists at my end. Shall i attach the e-text.c file?

Thanks :)
Makuchaku
Comment 21 makuchaku 2006-05-24 08:56:17 UTC
BTW, i dont think the patch is already there in evo 2.7.2.1 build?
Comment 22 André Klapper 2006-05-30 02:32:27 UTC
makuchaku, please provide a changelog entry with a reference to the bug id instead of adding a comment in the code. :-) thanks in advance...
Comment 23 makuchaku 2006-05-30 06:27:20 UTC
Sure,

:)
Makuchaku
Comment 24 Chenthill P 2006-06-07 08:01:16 UTC
Adding harish in CC list.
Comment 25 makuchaku (Mayank) 2006-07-19 09:25:26 UTC
Umm... I dont think the patch is working... I'm using Evo 2.7.4 (the patch is there) but I can still replicate the issue.

Can someone from QA please check...

thanks :)
Comment 26 André Klapper 2006-07-19 14:21:24 UTC
srini, makuchaku, sorry but i am unable to test this, because this is about directly entering japanese characters into the day view - i am unable to try this as gnome's input method (in the context menu) does not work in this case. :-/

i would be happy if somebody else running a CJK locale could also test this. thanks a lot.
Comment 27 André Klapper 2006-07-19 20:10:29 UTC
perhaps bug 264404 and bug 263731 are also related to this. note the attached patches.
Comment 28 Hiroyuki Ikezoe 2006-07-20 02:52:20 UTC
makuchaku, what is your immodule?

I tested SCIM and my test im-module <http://bugzilla.gnome.org/show_bug.cgi?id=321310#c5>
Comment 29 makuchaku (Mayank) 2006-07-20 06:09:42 UTC
Hi Hiroyuki,
I'm using SCIM on my machine. Does the patch works on your machine?

Andre, you dont need to log into ja_JP locale to test this, login with your usual locale, install Anthy for scim (scim-anthy), start evo, click on any day view text widget, hit "a" to make it editable, press <ctrl>+<space> to enable scim & type "aka" to enter japanese text.

If you are able to enter this text, you can very easily go ahead with QA :)

Regards,
Mayank
Comment 30 Hiroyuki Ikezoe 2006-07-20 06:34:41 UTC
The issue you mention is exactly same as the screenshot in comment #1?

please attach screenshot on your environment.
Comment 31 makuchaku (Mayank) 2006-07-20 07:55:35 UTC
Created attachment 69227 [details]
The problem screenshot

Hi, As marked, you can see that 
1) Preedit buffer is replicating
2) the variable preedit_len jumps from 0 to 6 as i beging typing "aka" in second text widget (after i typed "aka" in first, but did not commited the preedit).
Comment 32 makuchaku (Mayank) 2006-07-20 07:56:49 UTC
I was using the code which had your patch applied.
Comment 33 makuchaku (Mayank) 2006-07-20 11:54:40 UTC
Hiroyuki, refering to http://bugzilla.gnome.org/show_bug.cgi?id=264485#c17
I was looking at gtkentry.c for how its resetting the IM.

static void
gtk_entry_reset_im_context (GtkEntry *entry)
{
  if (entry->need_im_reset)
    {
      entry->need_im_reset = 0;
      gtk_im_context_reset (entry->im_context);
    }
}

I think we can also saftely rely on gtk_im_context to reset the preedit buffer.

What do you say?

Thanks,
Mayank
Comment 34 Hiroyuki Ikezoe 2006-07-20 22:42:38 UTC
As far as I see your screenshot, it is not this bug. You say about that preedit string is preserved in new focused entry, don't you?
Comment 35 Hiroyuki Ikezoe 2006-07-20 22:45:10 UTC
(In reply to comment #33)
> static void
> gtk_entry_reset_im_context (GtkEntry *entry)
> {
>   if (entry->need_im_reset)
>     {
>       entry->need_im_reset = 0;
>       gtk_im_context_reset (entry->im_context);
>     }
> }
> 
> I think we can also saftely rely on gtk_im_context to reset the preedit buffer.

Where is the relationship between resetting im context and clear preedit buffer in the code?
Comment 36 makuchaku (Mayank) 2006-07-21 06:30:15 UTC
(In reply to comment #34)
> As far as I see your screenshot, it is not this bug. You say about that preedit
> string is preserved in new focused entry, don't you?
> 

The screenshot depicts that though preedit was cleared form the first text widget, it got replicated (& automatically inserted) in the secont text widget when i started editing it.

In the second text widget あかあ appeared when i just typed "a".
Expected output was just あ

--
Makuchaku
Comment 37 makuchaku (Mayank) 2006-07-21 07:50:01 UTC
Created attachment 69310 [details]
this will clear any doubts

I fetched e-text.c again from the cvs to nullify any effects i've had made to it & rebuilt evo.

The screenshot shows that the preedit is replicating across text widgets.
Comment 38 makuchaku (Mayank) 2006-07-21 11:21:34 UTC
Hi,

I've created another patch which solves this problem at my end.
Hiroyuki, evoQA, can you kindly test it.

Thanks,
Makuchaku
Comment 39 makuchaku (Mayank) 2006-07-21 11:22:35 UTC
Created attachment 69321 [details] [review]
Yet another patch

uses gtk_im_context_focus[in/out]
Comment 40 Akira TAGOH 2006-07-21 11:52:54 UTC
marking the older patches as "obsolete" to make a less confusion.
Comment 41 Hiroyuki Ikezoe 2006-07-24 00:18:42 UTC
(In reply to comment #37)
> Created an attachment (id=69310) [edit]
> this will clear any doubts
> 
> I fetched e-text.c again from the cvs to nullify any effects i've had made to
> it & rebuilt evo.

I am confused what happened on your machine...
I am sorry, you did apply my patch?


Comment 42 makuchaku (Mayank) 2006-07-24 06:34:40 UTC
Hi Hiroyuki, yes i did applied your patch & then created that screenshot.

Can a third person please confirm the result?

Andre: ping
Kharish: ping
Comment 43 Hiroyuki Ikezoe 2006-07-24 22:33:13 UTC
(In reply to comment #39)
> Created an attachment (id=69321) [edit]
> Yet another patch
> 
> uses gtk_im_context_focus[in/out]

I understand what you want to do, but gtk_im_context_focus_xx has the same problem as gtk_im_context_reset() above I mentioned at comment #17. Their implement depends on im module. GTK+ document of gtk_im_context_focus_out() says :

The input method may, for example, change the displayed feedback or reset the contexts state to reflect this change.



Comment 44 makuchaku (Mayank) 2006-07-25 05:09:08 UTC
But dont you think that with a focus out & focus in, gtk_im_context should also change focus? And afterall, it does resolves the problem :)
Comment 45 makuchaku (Mayank) 2006-07-25 10:18:27 UTC
Created attachment 69562 [details] [review]
Combined patch

Ikezoe san, this is a combined patch & does works for me. focus in/out is anyways needed to notify im context.
I've obsoleted my patch, can you please check this one & then the QA team can proceed.

Thanks,
Makuchaku
Comment 46 Hiroyuki Ikezoe 2006-07-26 06:28:00 UTC
(In reply to comment #44)
> But dont you think that with a focus out & focus in, gtk_im_context should also
> change focus? And afterall, it does resolves the problem :)

Yes, I think gtk_im_context_focus_in/out is needed in here.  In this sense, your patch is right, not wrong.  But your patch does not essentially fix this bug. Don't mistake it. 

I'm afraid of what this bug will not completely fix. 
Comment 47 Hiroyuki Ikezoe 2006-07-26 06:35:24 UTC
(In reply to comment #45)
> Created an attachment (id=69562) [edit]
> Combined patch

It's better to be compliant with original coding style.
In your case, a space between function name and parenthesis is needed.
Comment 48 makuchaku (Mayank) 2006-07-26 06:36:46 UTC
Oh, not an issue :)

BTW, the new patch does removes the problem. Please test it & then we can go ahead to commit it in the CVS HEAD.

Its been one long discussion for this bug :)
Comment 49 makuchaku (Mayank) 2006-07-26 06:37:55 UTC
No problem atall...
I shall reupload the patch.
Comment 50 makuchaku (Mayank) 2006-07-26 06:39:36 UTC
Created attachment 69634 [details] [review]
Patch updated to coding conventions

Updated the patch as per coding conventions used in evo code.
Comment 51 Hiroyuki Ikezoe 2006-07-26 06:40:46 UTC
makuchaku, how about the following patch?


@@ -2249,6 +2250,7 @@ e_text_event (GnomeCanvasItem *item, Gdk
                                                                              0, 0, NULL,
                                                                              NULL, text);
                                        text->im_context_signals_registered = FALSE;
+                                       reset_layout (text);


Please test it without your change. This bug completely can not be fix without your help, I think.
Comment 52 makuchaku (Mayank) 2006-07-26 06:43:18 UTC
Is it the patch in http://bugzilla.gnome.org/show_bug.cgi?id=264485#c12 ?
Comment 53 Hiroyuki Ikezoe 2006-07-26 06:46:22 UTC
Diff after applying the patch comment #12.
Comment 54 makuchaku (Mayank) 2006-07-26 06:49:30 UTC
okay, let me comment out my focus in/out lines & then test.
Comment 55 Hiroyuki Ikezoe 2006-07-26 06:52:36 UTC
I know your patch works fine on your evironment, and my environment. But I repeat it is not essential solution for this bug.  My explanation might be bad...
Comment 56 makuchaku (Mayank) 2006-07-26 07:07:20 UTC
Oh, dont worry about the explanation part, i've got your point.

However, i just tested with your patch & the input is replicating. I'm also attaching my e-text.c just for your reference. It does contain other changes which i did for bug#348638 but i dont think it should be causing any problem.

Thanks,
Makuchaku
Comment 57 makuchaku (Mayank) 2006-07-26 07:09:40 UTC
Created attachment 69637 [details]
My e-text.c

The other changes irrelevant to this bug have been commented out in e_text_draw
Comment 58 Hiroyuki Ikezoe 2006-07-26 07:37:31 UTC
Ugh! I do not want to read whole code. Please attach diff.
Comment 59 makuchaku (Mayank) 2006-07-26 07:45:12 UTC
hehe, the function of interest is e_text_event & e_text_draw, just search :)
I attached the full file just in case you wanted to check what all other changes i might be doing :)
Comment 60 Hiroyuki Ikezoe 2006-07-27 00:11:23 UTC
I don't understand what you want to do. Diff file shows clearly what you changed...

Anyway I looked your code, and I found there is no line what I want you to add.

I attach the diff file. Please test it without any your local changes if you do not understand whole evo codes and behaviour.
Comment 61 Hiroyuki Ikezoe 2006-07-27 00:12:33 UTC
Created attachment 69702 [details] [review]
update patch

Call reset_layout() in another place.
Comment 62 Hiroyuki Ikezoe 2006-07-27 00:29:01 UTC
By the way, I tested your fix without any other changes on my home machine at last night, this bug was still happened.
Comment 63 makuchaku 2006-07-31 10:38:13 UTC
Hi Ikezoe san,
I'm still able to reproduce the problem with _just_ this patch.
i've attached a diff of the file i'm using (diff'd against the cvs head of e-text.c).
Comment 64 makuchaku 2006-07-31 10:40:26 UTC
Created attachment 69954 [details] [review]
cvs diff -u8p e-text.c

This is NOT any patch, just showing that my e-text.c has _just_ hiroyuki's patch.
I am still able to reproduce the problem.
Comment 65 makuchaku (Mayank) 2006-08-02 11:08:12 UTC
Hi Ikezoe san,
bad news...
Today I tested evolution with new IME - uim and both of our patches failed (Mine & yours).

have you tried your patch with any other IME?
Comment 66 makuchaku (Mayank) 2006-08-02 11:11:26 UTC
I'm using the following to test

scim-1.4.4-25.fc6
scim-anthy-1.0.0-4.fc6
uim-1.1.1-2.fc6
[gnome@majain evolution]$ ./shell/evolution --version
Gnome evolution-2.8 2.7.90

Can you please check what are the verions you are using... just to confirm we are not going wrong as far as the version numbers are concerned.
Comment 67 makuchaku (Mayank) 2006-08-02 11:32:06 UTC
Hi,

I tested Patch http://bugzilla.gnome.org/attachment.cgi?id=65816 (remember my first patch with gtk_im_reset_context?) with scim-anthy & uim (anthy) and both work perfectly (unable to reproduce the problem).

I think its now a strong case to consider gtk_im_context_reset function... there are two IME's that are working fine with it.
Comment 68 makuchaku (Mayank) 2006-08-03 09:28:10 UTC
just tested my patch in http://bugzilla.gnome.org/attachment.cgi?id=65816 with kinput2 & there was absolutely no bug reproduction.

Now scim/uim/kinput2... all three work well with my patch.

Ikezoe san, what do you say?

Thanks.
Comment 69 makuchaku (Mayank) 2006-08-07 12:12:55 UTC
Ikezoe San... ping
Comment 70 makuchaku (Mayank) 2006-08-10 08:43:06 UTC
After applying the patch from http://bugzilla.gnome.org/show_bug.cgi?id=348638#c23 I can see that the preedit string stops replicating, but however remains in the preedit state when I try to switch between the text widgets... which is infact good.

I would give the patch in http://bugzilla.gnome.org/show_bug.cgi?id=264485#c61 a green signal, only when it is applied with the patch in http://bugzilla.gnome.org/show_bug.cgi?id=348638#c23

Thanks,
Mayank
Comment 71 makuchaku (Mayank) 2006-08-10 08:45:53 UTC
I mean both http://bugzilla.gnome.org/show_bug.cgi?id=348638#c23 and http://bugzilla.gnome.org/show_bug.cgi?id=264485#c61 should be applied together to rectify this bug.

I'm attaching the latest working patch...
Comment 72 makuchaku (Mayank) 2006-08-10 08:57:07 UTC
Created attachment 70625 [details] [review]
Working patch for this bug

I'm not obsoleting any patches with this patch as Ikezoe san, I still need a go ahead from you regardin this patch.

Thanks,
Mayank
Comment 73 André Klapper 2006-08-19 15:22:45 UTC
okay... finally installed scim-anthy-0.8.0-14 and scim-1.4.4-23 on my suse10.1.

so i am in day view. i click on 10h00 once to mark it. now i enter an "a". now i hit control+space. nothing happens/changes. did i really enable scim? anything i have missed here? :-/
please guide a stupid user like me. :-)
Comment 74 makuchaku (Mayank) 2006-08-19 17:44:23 UTC
Hi Andre,

If you didn't saw SCIm getting activated, try running evolution like this...

$ GTK_IM_MODULE=scim evolution

Let me know if you face any further problem :)

Thanks,
Makuchaku

Comment 75 Hiroyuki Ikezoe 2006-08-21 05:08:26 UTC
Hi makuchaku, 

I am sorry for my absence. 

Just take a look, your patch in #72 is reasonable for me.

Comment 76 makuchaku (Mayank) 2006-08-21 06:45:29 UTC
Hi Ikezoe san :)
Good to see you back!

Finally we can move to close this bug :)

Andre: Hi, were you able to reproduce the bug & tried the patch in #72?

Thanks,
makuchaku
Comment 77 André Klapper 2006-08-21 16:42:23 UTC
will try, takes another day though. :-)
Comment 78 André Klapper 2006-08-23 09:41:25 UTC
i ran
         GTK_IM_MODULE=scim /opt/evo-cvs/bin/evolution-2.8
went to the calendar day view, entered an "a" and hit control+space, but nothing happens, tried this both with the patch in comment #72 applied and without it. :-/
i'm doing something totally wrong ehre, strange.
Comment 79 makuchaku (Mayank) 2006-08-23 13:35:33 UTC
Okay, do some quick checks...

1) Run gedit & try activating scim from within it. You might need to right click in the  editor area, go to "Input Methods" section, select scim, hit ctrl+enter see.

2) Do the same steps with this
GTK_IM_MODULE=scim gedit
when gedit starts, focus the editor & hit ctrl+enter

3) Also, try this
open gnome-terminal
run "scim-restart"
Now try GTK_IM_MODULE=scim evolution

...i hope it works now :-)
Comment 80 André Klapper 2006-08-29 19:11:00 UTC
something's definitely wrong with my setup, it seems. :-(
what could i expect if it would work? i could enter japanese, right?
in gedit in can select scim from the input methods section, but when i hit ctrl+enter nothing happens - at least i enter the normal latin letters when i type.

any other volunteers here in the CC list?
Comment 81 makuchaku (Mayank) 2006-08-31 10:22:23 UTC
Andre... there is a catch with evo...
After focussing on a text widget, you first have to press a regular ascii char to put it in editing mode & then use ctrl+space combination to activate scim.

Just try again :) & make sure you run scim-restart before starting evo.

Wish you luck :)
Mayank
Comment 82 makuchaku (Mayank) 2006-09-02 12:49:27 UTC
Andre ping... Did it worked?
Comment 83 André Klapper 2006-10-09 06:46:54 UTC
i still wasn't successful to get this running here with my setup, sorry. seems to be a "suse vs. scim" issue. :-/
any other testers highly welcome.
Comment 84 makuchaku (Mayank) 2006-10-09 10:07:14 UTC
Andre can you please make al patches in this bug apart from that in #72 as obsolete?

This would greatly aid the new tester :)

Thanks,
Mayank
Comment 85 André Klapper 2006-10-09 11:40:39 UTC
sure :-)
Comment 86 Chenthill P 2006-10-12 09:36:47 UTC
I have tested the patch. The pre-edit string is not duplicated now. But the pre-edit string is copied to second widget when the focus is changed to second widget while the first widget is in edit mode. 

Steps
1) create two events say a in dayview.
2) In the first event widget enter the letters aka.
3) While the first event widget is in edit mode, move to second widget (make sure tooltip does not change the focus)
4) the pre-edit string entered in first widget is copied to second widget.

Another side effect is, 
1) select the first widget and enter a string
2) while it is in edit mode, move the mouse over another event to get the tooltip
3) Now try creating an event by typing in dayview in some are free area.
4) The character typed are still stored in first widget (select the first widget to see this).
Comment 87 Matthew Barnes 2008-01-14 20:32:38 UTC
This may have been fixed by bug #264404.  Can someone retest with 2.21.5?
Comment 88 Akira TAGOH 2008-01-23 01:47:14 UTC
not replicated anymore. 2.21.5 works for me.
Comment 89 Matthew Barnes 2008-01-23 02:35:12 UTC
Thanks.  Closing as FIXED.