Bug 157391 - input preedit string gets replicated in Evolution Cal (FC4)
input preedit string gets replicated in Evolution Cal (FC4)
Status: CLOSED DUPLICATE of bug 166231
Product: Fedora
Classification: Fedora
Component: evolution (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matthew Barnes
: i18n
Depends On: 131227
Blocks: FC4Update
  Show dependency treegraph
 
Reported: 2005-05-11 01:53 EDT by Lawrence Lim
Modified: 2014-03-25 20:52 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-31 10:57:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix preedit buffer replication (520 bytes, patch)
2006-05-22 08:14 EDT, Mayank Jain
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
GNOME Desktop 264485 None None None Never

  None (edit)
Description Lawrence Lim 2005-05-11 01:53:26 EDT
+++ 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
Comment 1 Lawrence Lim 2005-05-11 01:55:35 EDT
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
Comment 3 A S Alam 2006-05-22 07:01:22 EDT
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
-------------------
Comment 4 Mayank Jain 2006-05-22 08:12:59 EDT
Hi Aman,

This patch seemingly fixes the problem.
Kindly have a look.

Thanks,
Mayank
Comment 5 Mayank Jain 2006-05-22 08:14:07 EDT
Created attachment 129792 [details]
Patch to fix preedit buffer replication
Comment 6 Mayank Jain 2006-06-21 02:45:55 EDT
No need for applying the patch, fixed in upstream code... adding the external
bugzilla ref - http://bugzilla.gnome.org/show_bug.cgi?id=264485
Comment 8 A S Alam 2006-06-26 10:03:24 EDT
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
---------------------
Comment 9 Mayank Jain 2006-07-06 04:59:10 EDT
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
Comment 10 Matthew Barnes 2006-07-06 12:59:15 EDT
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.
Comment 11 A S Alam 2006-07-10 05:58:37 EDT
sorry, still string is replicated, test on following package

evolution-2.7.3-9
Comment 13 Matthew Barnes 2006-07-18 07:40:13 EDT
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
Comment 14 Mayank Jain 2006-07-18 09:06:40 EDT
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 :)
Comment 15 Matthew Barnes 2006-08-07 09:35:36 EDT
Mayank, any progress on this upstream?
Comment 16 A S Alam 2006-08-31 10:57:29 EDT

*** This bug has been marked as a duplicate of 166231 ***

Note You need to log in before you can comment on or make changes to this bug.