Can't type in Korean Hangul and English by ibus-hangul

Bug #1604483 reported by Jung-Kyu Park
52
This bug affects 5 people
Affects Status Importance Assigned to Milestone
AppCenter
Invalid
Undecided
Unassigned
Files
Invalid
Undecided
Unassigned
Mail
Invalid
Undecided
Unassigned
Maya
Invalid
Undecided
Unassigned
Scratch
Invalid
Undecided
Unassigned
Slingshot
Invalid
Undecided
Unassigned
Terminal
Invalid
Undecided
Unassigned
elementary OS
Confirmed
Undecided
Unassigned

Bug Description

I can't type in Korean Hangul and English in slingshot.
I can't switch Input Method language between Hangul with English.

Input Method: ibus-hangul

=== How to reproduce ===
Add Korean keyboard layout
$ sudo apt install ibus-hangul
$ im-config -n ibus
log out & log in
$ ibus-setup

To add language (Korean & English) which would be used in ibus-hanul.
To set shortcut to switch language between two languages.

tags: added: internationalization
Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

Except slingshot, other apps are available to type in English.

description: updated
Revision history for this message
賴家亨 (laichiaheng) wrote :

I can't type in English in the search bar after I set the system to Chinese, it will freeze

Changed in appcenter:
status: New → Invalid
Changed in maya:
status: New → Invalid
Changed in pantheon-files:
status: New → Invalid
Changed in pantheon-terminal:
status: New → Invalid
Changed in slingshot:
status: New → Invalid
Changed in scratch:
status: New → Invalid
Changed in pantheon-mail:
status: New → Invalid
Changed in elementaryos:
status: New → Confirmed
Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

賴家亨 (laichiaheng) mailed to me that removing of "ibus-gtk3" will work for this issue,
But, unfortunately, there is no ibus-gtk3 in ibus-hangul instalation packages.
Accroding to his work, testing to Korean hangul, it should be

$ sudo apt install ibus-hangul
$ sudo apt remove ibus-gtk3
log out & log in

But , there is no ibus-gtk3 package while installed during installing ibus-hangul
I left it here for clue & information for this issue.

Revision history for this message
BALLOON (balloon) wrote :

I tried it in Japanese.
However, ibus-anthy and ibus-mozc does not react at all.

Duc (leloiboi1)
Changed in slingshot:
status: Invalid → New
status: New → Invalid
Revision history for this message
Duc (leloiboi1) wrote :

I get the same bug using ibus-unikey (for Vietnamese input). So I guess the problem exists for all ibus engines

Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

It seems ibus does not work in Loki, I recommend other input method such as
Fictx
Uim
Nimf

Revision history for this message
Hiunn-hué (hiunnhue108) wrote :

This bug report seems to contains 2 issues...

I'm not sure which one do you mean, but I'd like to share what I know...

================================================================
 1. Cannot input CJKV languages or cannot switch input methodes
================================================================

Loki pre-installed iBus, and it is activated by default. If you open gnome-system-monitor, you should see "ibus-daemon".

However, this ibus-daemon process has a parameter "--panel=disable", which causes that users cannot switch input methodes via hot-keys (super + space or ctrl + space).

There are two ways to solve it ...

1. Run a new ibus-daemon without "--panel=disable" to replace the old one:

     $ ibus-daemon -drx

2. Modify the wrong setting in im-config.

The existing ibus-daemon is actually activated by im-config, so we can ask im-config to activate iBus correctly.

  2-1. Modify /usr/share/im-config/data/21_ibus.rc (need sudo)
  2-2. Find "/usr/bin/ibus-daemon --daemonize --xim --panel=disable"
  2-3. Remove "--panel=disable" and save
  2-4. If you chose other framework in im-cofig before, don't forget to choose iBus again.

Now you should be able to switch input methodes. But your input list is empty. You have to add one:

  Step 1. Run in Terminal: ibus-setup
  Step 2. Click the Tab "Input Methodes"
  Step 3. Click "Add ..."
  Step 4. Choose what you want, such as ibus-anthy, ibus-hangul or ibus-unikey

Now you should be able to input with your preffered input methode, and switch input methodes with hot-keys.

=============================================
 2. Cannot input in search bar of slingshot
=============================================

This is another bug. As long as iBus is activated, namely the "ibus-daemon" is running, input anything in slingshot will lead to crash. Even English. You don't need to install or add any input methodes.

It's not *always* reproducible, but it happenes *really often*.

Step to reproducible:

 1. Make sure that "ibus-daemon" is running
 2. Click the top-left corner, open slingshot menu
 3. Input something in the search bar
 4. Also try Backspace
 5. Slingshot gives no responce or even crashes

============================
 3. To elementary team
============================

Input Method Frameworks are really important for CJK users ... maybe also for Vietnamese and Thai, I'm not sure. We use it every single day.

If elementary team want to provide a good out-of-box experience, you must ensure that the desktop environment and your own apps (slingshot, scratch...etc.) works well with input methode frameworks.

There are many frameworks, but the most common might be *iBus* or *Fcitx* recently.

Even if you don't need any input method, you can still install one framework. You can use it to change keyboad layouts. At least, it'll help discover issues we mentioned above earlier. ;)

Zisu Andrei (matzipan)
summary: - Can't type in Korean Hangul and English by ibus-hangul in slingshot
+ Can't type in Korean Hangul and English by ibus-hangul
Revision history for this message
Jung-Kyu Park (bagjunggyu) wrote :

Removing of ibus-gtk3 brings this bug again , https://code.google.com/archive/p/ibus/issues/1726
Actually it was resolved from Ubuntu 16.10,

however The workaround of @hiunnhue108 in which above comment
It worked good for almost apps in Loki.
I think it is a good solution for ibus CJK issue in Loki generally.

It worked for slingshot, files, terminal, mail, music, maya, audience, switchboard without any issue like above bug.

But, These two apps (Appcenter, Photos) still have big trouble to type in all kind of Input Methods (Nimf, Fcitx, Uim, Ibus)
We can not input Hangul and English more than 3 characters in these two apps, or It will be freezing.
You can close those apps by this command
$ xkill

I think @hiunnhue108's workaround is a good solution for Loki related to ibus issue.

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.