Simplified Chinese mode default for Cangjie 5

Bug #652841 reported by Gavin Chan
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ibus-table-cangjie (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ibus-table-cangjie5

Cangjie is a input method for Traditional Chinese, but the Chinese mode (繁簡) of cangjie5 for ibus is set to Simplified Chinese by default.

User cannot input some Traditional Chinese character with default settings. For example, the character "們" (人日弓). Additional, the language panel mode is “Embedded in menu" (I don't know its meaning) and cannot notice the current Chinese mode.

The default Chinese mode for ibus-table-cangie* should set to "Traditional Chinese".

Software Version:
ibus-table-cangjie5 - 1.2.0.20100305 ibus-table input method: CangJie5

Ubuntu Version:
Description: Ubuntu maverick (development branch)
Release: 10.10

Revision history for this message
Gavin Chan (bitrevo) wrote :

With reference to /usr/share/ibus-table/engine/table.py. iBus use LANG env to determine the chinese mode.

For my personal opinion, I think the chinese mode of ibus-cangjie should be "Traditional" because cangjie is "Traditional Chinese Input Method".

Revision history for this message
Pigeonman (aaron-smaco) wrote :

Yes this is a very annoying bug. The ibus-setup UI does not provide an option to switch cangjie5 input to "traditional" by default. Every time you reboot your machine you have to set it again.

To workaround this issue, I put the following line to /etc/environment:

LC_CTYPE=zh_HK

This will force ibus to default to traditional chinese for cangjie5 input.

Revision history for this message
T Ma (m0909) wrote :

I find the new bug very annoying too. Is there a reason that the setting (traditional/simplied) cannot be saved?

Changed in ibus-table-cangjie (Ubuntu):
status: New → Confirmed
Revision history for this message
molybtek (ubuntu-truong) wrote :

A temporary workaround is to change line 126 from return 0 to return 1. But this will default to traditional for all the Chinese IME.

from:
            else:
                if self.db._is_chinese:
                    # if IME declare as Chinese IME
                    return 0
                else:
                    return -1

to:
            else:
                if self.db._is_chinese:
                    # if IME declare as Chinese IME
                    return 1
                else:
                    return -1

Revision history for this message
molybtek (ubuntu-truong) wrote :

Sorry - that is in the file /usr/share/ibus-table/engine/table.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.