Bug 217639

Summary: scim-tables Chang-Jie preedit was not cleared after focus out then focus in.
Product: [Fedora] Fedora Reporter: Caius Chance <K9>
Component: scim-tablesAssignee: Caius Chance <K9>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eng-i18n-bugs, phuang
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-19 06:19:20 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: 232875    
Attachments:
Description Flags
Patch none

Description Caius Chance 2006-11-29 03:24:24 UTC
Description of problem:
The preedit still exists even user focus out and focus in SCIM.

Version-Release number of selected component (if applicable):
scim-tables-chinese-0.5.6-7
scim-tables-0.5.6-7

How reproducible:
Always

Steps to Reproduce:
1. Ensure scim, scim-tables, scim-tables-chinese have been installed.
2. Ensure scim is started by default: at gnome desktop, use im-chooser on system
preference menu.
3. Ensure Chang Jie (5) was selected in SCIM: right click SCIM icon on taskbar
and select config item, go to IME selection tab and tick Chinese -> Chang Jie 5.
4. Start gedit: at gnome desktop, press alt-F2, input gedit and press enter.
5. Press ctrl space to turn on SCIM, click IME name on tool bar and change to
Chang Jie 5.
6. Input 'a' key, it will becomes 日 on preedit and candidate list is shown.
7. Press ctrl space twice, the preedit buffer is still there.
  
Actual results:
Preedit buffer is not cleared.

Expected results:
Preedit buffer is cleared.

Additional info:
Not sure whether Changjie 3 and Changjie have same problem or not.

Comment 1 Jens Petersen 2006-11-29 04:10:14 UTC
Also happens with scim-pinyin apparently.

Comment 2 Jens Petersen 2006-11-29 04:20:30 UTC
I guess this is related to scim-bridge since the sense that
we have gtkimm-clear-preedit-on-reset-174143.patch in our scim package.

Should we modify scim-bridge to do the same?

As it stands this coincides with upstream's preedit behaviour.


Comment 3 Jens Petersen 2006-11-29 06:26:47 UTC
See bug 174143 for the scim case.

Comment 4 Caius Chance 2006-11-29 06:51:47 UTC
FYI, Chewing's behavior has been changed to "clearing" by me, after upstream's
approval.

IMHO, as Chang Jie is currently not be used with long preedit during inputting
(i.e. the frequency that users commit characters in preedit is relatively high),
it doen't not very make sense to keep preedit after focus out and in.

Comment 5 Peng Huang 2006-11-29 07:12:01 UTC
IMO, keeping preedit string after focus out is complex, maybe it will make users
puzzled.
I think commiting preedit string or clearing it are more appropriate. 

Comment 6 Caius Chance 2007-03-19 06:12:28 UTC
Created attachment 150350 [details]
Patch

Comment 7 Caius Chance 2007-03-19 06:19:20 UTC
Built & sent patch to upstream.

This is good to push to FC6.