+++ This bug was initially created as a clone of Bug #131227 +++ Description of problem: In CJK locale, input characters gets replicated when they are not comitted. Version-Release number of selected component (if applicable): - evolution-data-server-0.0.97-2 - evolution-1.5.92.2-2 - im-sdl-12.0.1-1 How reproducible: Always Steps to Reproduce: 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. Additional info: Tested in GNOME environment
Tested with the following packages in dist-FC4, the bug still exist. evolution-webcal-2.2.0-1 evolution-2.2.2-5 evolution-data-server-1.2.2-2 evolution-devel-2.2.2-5 evolution-data-server-devel-1.2.2-2 evolution-connector-2.2.2-3 evolution-debuginfo-2.2.2-5
working fine for ko_KR.UTF-8, but not for ja_JP.UTF-8 zh_CN.UTF-8 changed FC4->Devel Test ON ------------------ evolution-sharp-0.11.1-1 evolution-data-server-1.7.1-2 evolution-webcal-2.4.1-3.2 evolution-2.7.1-1 evolution-data-server-devel-1.7.1-2 -------------------
Hi Aman, This patch seemingly fixes the problem. Kindly have a look. Thanks, Mayank
Created attachment 129792 [details] Patch to fix preedit buffer replication
No need for applying the patch, fixed in upstream code... adding the external bugzilla ref - http://bugzilla.gnome.org/show_bug.cgi?id=264485
Not working for ja_JP locale with following test envirnment: --------------------- evolution-sharp-0.11.1-5 evolution-2.7.3-3 evolution-data-server-1.7.3-2 evolution-data-server-devel-1.7.3-2 evolution-webcal-2.7.1-4 ---------------------
Hi Matt, The Patch in http://bugzilla.gnome.org/attachment.cgi?id=65213&action=view seems to be missing from the latest builds. Can you please apply it to the latest code base? If you need any more info, please let me know. Thanks, Mayank
Done - evolution-2.7.3-8 Only two of the three hunks in the patch applied. The third (plugs a memory leak) is already fixed upstream. Changing component from evolution-data-server to evolution.
sorry, still string is replicated, test on following package evolution-2.7.3-9
Mayank, To apply the patch manually, do so from Evolution's root directory: $ cd evolution-2.7.4 $ patch -p1 < evolution-2.7.3-replicated-cjk-input.patch The -p1 option tells patch to ignore the first component of the path when applying the patch-file (in this case, "evolution-2.7.3/"). This is what the spec file does when automatically applying the patches. Keeping the version in the patch-file helps us keep track of what version of Evolution the patch-file was _really_ generated from, since the patch-file's name in CVS does not always accurately reflect this. Let me know if I misunderstood your question, or if you're still having trouble. Matt
Oh, yeah... Just had a look at this line %patch904 -p1 -b .replicated-cjk-input I did knew what you just wrote, but probably missed this line. Thanks! Btw, just found that you can saftely delete evolution-2.7.2-preedit-gnome.bz-264485.patch & clean it up from the spec file as it is already not being applied, its my old unaccepted patch. Thanks :)
Mayank, any progress on this upstream?
*** This bug has been marked as a duplicate of 166231 ***