Bug 132612

Summary: [chinput] preedit buffer not intialise for new Input Context
Product: [Fedora] Fedora Reporter: Lawrence Lim <llim>
Component: iiimf-le-chinputAssignee: Yu Shao <yshao>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eng-i18n-bugs, tools-bugs
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.3-13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-30 09:14:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 125997    

Description Lawrence Lim 2004-09-15 05:29:44 UTC
Description of problem:
IMHO, the preedit buffer should be initialise in a new Input Context.
At the moment, if a preedit buffer is not empty and a new application
is started and toggle on the LE in the new application will cause the
preedit buffer in the previous application to appear.

Version-Release number of selected component (if applicable):
im-sdk-12.0.1-6.svn1891
iiimf-le-chinput-0.3-6

How reproducible:
Always

Steps to Reproduce:
1.start gnome-terminal
2.toggle on chinput LE and enter hong (do not commit)
3.start gedit
4.toggle on chinput LE and enter h 
  
Actual results:
In gedit, the preedit buffer will appear 'hong h'

Expected results:
Just 'h'

Additional info:

Comment 1 Lawrence Lim 2004-10-25 05:17:10 UTC
In iiimf-le-chinput-3.0-11, the bug has resurfaced again.

Steps:
1. log in as normal user with zh_CN locale and GNOME session
2. start gnome-terminal
3. toggle on (ctrl-space)
4. enter 'hong' (do not commit)
5. toggle off (ctrl-space)
6. toggle on (ctrl-space)
7. enter 'h'

Actaul Result:
preedit buffer contains 'hong h'

Expected result:
preedit buffer should be just 'h' instead of 'hong h'




Comment 2 Yu Shao 2004-10-30 09:14:06 UTC
fixed, clearing preedit when toggle the SC on.