Red Hat Bugzilla – Bug 231568
[chewing] Look up table is showing candidates of previous look-up.
Last modified: 2007-11-30 17:11:58 EST
+++ This bug was initially created as a clone of Bug #220288 +++
+++ This bug was initially created as a clone of Bug #218565 +++
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.log in zh_TW locale
3.ctrl-space to bring up Chewing IM and type 't'
4.SPACE SPACE to bring up candiate window
5.click SPACE many times and then ESCAPE
6.click '.' many times
7.observe second last candidate is the candidate of previous look-up.
Such candidate should not be shown.
Lookup table should be cleared between every look-up.
-- Additional comment from email@example.com on 2006-12-17 23:10 EST --
Used libchewing test suite:
1. in upstream's svn trunk
2. make check
3. ./genkeystroke test.txt
4. then keyin
which shows libchewing works fine.
-- Additional comment from firstname.lastname@example.org on 2006-12-20 09:01 EST --
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
-- Additional comment from email@example.com on 2007-01-02 03:04 EST --
Put this line in SetChoiceInfo() in choice.c:
memset( pci->totalChoiceStr, '\0', sizeof(char) * MAX_CHOICE * MAX_PHRASE_LEN *
MAX_UTF8_SIZE + 1);
before pci->nTotalChoice is zeroized.
-- Additional comment from firstname.lastname@example.org on 2007-01-02 03:09 EST --
Created an attachment (id=144623)
Patch file of this bug.
Clear previous data before populate ChoiceInfo data structure.
Bugs #220287 #220289 #220290 need separated patches to fix.
-- Additional comment from email@example.com on 2007-01-02 03:15 EST --
Patched, rebuilt, pending for QA.
-- Additional comment from firstname.lastname@example.org on 2007-01-02 19:54 EST --
*** This bug has been marked as a duplicate of 218565 ***
Patched and pending for build.
Built and pending for QA.