Apache OpenOffice (AOO) Bugzilla – Issue 52055
Restricted sequence checking for Thai disallows some valid sequences
Last modified: 2013-08-07 15:03:05 UTC
Step to reproduce 1. Enable CTL in OOo Option > Languages and select dropdown CTL list to Thai 2. In Language Settings > Complex Text Layout, enable "sequence checking" and "restricted" mode 3. try to type some "ordinary following vowels" (ะาำ) and follow by "leading vowels" (เ แ โ ไ ใ) e.g. "กระแทก", "และเพื่อ" 4. OOo2 won't allow this input sequence These input sequences is ordinary Thai spelling, then Thai people can't create document if they enable "restricted" mode.
Thai input sequence uses WTT 2.0 specification for reference. OOo2 implement WTT 2.0 sequence table in i18npool/source/inputchecker/inputsequencechecker_th.cxx It seems to use this copy [1] of WTT 2.0 as reference. However some value in the sequence map (Page 23) of row 4 [FV1] (or row /* 40 */ in code) is incorrect. We should use this WTT 2.0 reference [2] instead. Samphan will provide patch. [1] http://www.inet.co.th/cyberclub/trin/thairef/wtt2/char-class.pdf [2] http://linux.thai.net/~thep/th-xim/#IMOM
reproducible in 1.9m113 Windows. confirmed.
note: if this sequence checking is considered as "Basic functionality", the Priority should be P2.
FT->KH: This is in fact a very limiting defect for Thai users (I know because I can write and read Thai). Please have a look into this issue and check the patch provided. I put this issue on target PP2. Please decide if this applicable or not. Thx a lot.
Created attachment 28958 [details] The patch that change two entries (S->A) in _TAC_celltype_inputcheck to fixed this issue
Sorry for submit the patch late. The patch fix the bug. I've tested it on m95 on Windows.
apply patch in cws thaiissues.
ready for QA. re-open issue and reassign to sba@openoffice.org
read for QA
SBA: Correcting status to "fixed".
SBA->James: I'd appreciate very much if some native speaker could have a look at the CWS to see if this works as expected. Please comment. Set MH on c/c.
I've downloaded http://oootranslation.services.openoffice.org/pub/OpenOffice.org/cws/upload/thaiissues/ and tested this issue. It works correctly.
SBA->samphan: Thanks a lot. Set to verified.
SBA: The verification in Master should be undergone by a native speaker. If all works fine, please comment and lose this one. Thank you.
SBA: Correction... should read "... and CLOSE this one" :-)
SBA: Closed.