Bug 217065

Summary: scim-sinhala should avoid backspace for double vowels
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: scim-sinhalaAssignee: Pravin Satpute <psatpute>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: petersen, psatpute, snavin
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-12 05:15:48 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:

Description Caolan McNamara 2006-11-23 16:12:42 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061027 Firefox/2.0

Description of problem:
Because in scim-sinhala "oo" produces ඔ backspace ඕ this can only do the right thing if the backspace key in an application like openoffice.org-writer will always treat backspace as "delete previous character", so backspace cannot be rebound to do something else

Version-Release number of selected component (if applicable):
scim-sinhala-0.2.0-2.fc6

How reproducible:
Always


Steps to Reproduce:
In openoffice.org tools->customize->keyboard locate backspace and rebind it to do something else, e.g. launch about help.

Active scim-sinhala type oo

Actual Results:
ඔ "about openoffice.org" pops up ඕ

Expected Results:
not that :-)

Additional info:
Due to 217047 I've locked backspace to always generate the backspace event so this won't be visible in >= 2.0.4-5.4.8 at which point the problem will be that a user won't be allowed to rebind backspace.

Can't the sinhala IM act like e.g. the hangul one and give a little pre-edit area when the first o is pressed and just not commit that letter until the next keyboard event arrives and decide then to commit ඔ or ඕ ?

Comment 1 Pravin Satpute 2007-12-17 07:03:35 UTC
Resolved the issue in version scim-sinhala-0.2.0-4.fc9
Implemented preedit successfully

Comment 2 Jens Petersen 2007-12-20 07:12:52 UTC
Thanks, Pravin.

It would be nice to improve the patch to use preedit only when
necessary, ie just for all the characters that need modification.

Comment 3 Pravin Satpute 2008-01-10 07:22:06 UTC
I have done changes as per suggested by jens P., updates are available in rpm
version scim-sinhala-0.2.0-5.fc9

Comment 4 Jens Petersen 2008-02-12 05:15:48 UTC
Thanks!