Comment 19 for bug 947908

Revision history for this message
wanleung (wanleungwong) wrote :

Yes, it is about the design problem of the ibus-table.

As inside the table.py around line 126, there is a comment of the return value of the filter
        # self._chinese_mode: the candidate filter mode,
        # 0 is simplify Chinese
        # 1 is traditional Chinese
        # 2 is Big charset mode, but simplify Chinese first
        # 3 is Big charset mode, but traditional Chinese first
        # 4 is Big charset mode.
        # we use LC_CTYPE or LANG to determine which one to use

The filter make sense in any kind of PinYin input methods such as 拼音, 注音, 粵拼,
but it will give out a strange behavior in all kinds of graphological aspect input methods such as倉頡, 速成, 大易, 筆順.

It doesn't make sense to use locale to define which filter mode should be use in graphological aspect input methods.
The filter mode should be defined by not only locale but also the input method.
As we can see the filter mode actually has Big charset mode which can apply to all graphological aspect input method.

That's why I said the current patch is not a perfect fix of the issues.