ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Input Method handling not available with external keyboards #964

Open xqqy opened 5 years ago

xqqy commented 5 years ago

Steps to reproduce

1 connect a keybord

Expected behavior

It should let me change my text input method with super+space just like what happened in other system.

Actual behavior

I could only text English. Even I chosed Chinese in text entry setting.

dobey commented 5 years ago

You need to enable the Chinese text entry for external keyboard in System Settings. When you connect an external keyboard, an additional option appears in the Language & Text settings for it, and you can set the correct keyboard layout. Does setting the options in here resolve the problem for you? (I will agree that there needs to be some work done to improve integration of OSK and external keyboard text input options, though.)

xqqy commented 5 years ago

Yes I did set it, but opinion "Chinese"'s action is just as same as English. In ibus and fcitx, the text input method is called "pinyin" and "wubi".

UniversalSuperBox commented 5 years ago

I must admit I don't know much about the Chinese input methods, but it seems that Pinyin works by typing the pronunciation of a sound, then tapping the desired character from the suggestion bar:

image

I've tested this behavior on OTA-5 and the latest devel image as of today, both seem to work correctly based on entering similar input in an online pinyin input method.

Alternative to Pinyin, you may enable the other Chinese input method (seems to be localized as "Chewing" in English) to receive a keyboard full of characters. I'm not sure if this is what you're expecting:

image

If I've misunderstood what you're expecting from Chinese input, please let me know. Otherwise, I'll close this issue for now.

xqqy commented 5 years ago

Yes the virtual keyboard worked well. But when I connect my HARDWARE KEYBOARD via micro-usb otg, there is no such input mothods.

UniversalSuperBox commented 5 years ago

Oh, yes, sorry. The suggestions bar does not appear when an external keyboard is connected.

dobey commented 5 years ago

I've changed the title to better reflect the issue here, as this is not limited to Chinese language input methods.