Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 132612 - [chinput] preedit buffer not intialise for new Input Context
Summary: [chinput] preedit buffer not intialise for new Input Context
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: iiimf-le-chinput
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Yu Shao
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: IIIMF
TreeView+ depends on / blocked
 
Reported: 2004-09-15 05:29 UTC by Lawrence Lim
Modified: 2014-03-26 00:51 UTC (History)
2 users (show)

Fixed In Version: 0.3-13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-30 09:14:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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