Integrated Unified Input Method


#1

Good day,

As I usually deal with some different laguages on a daily basis (spanish, english, galician… -latin chars-, chinese, and sometimes russian), I would like to have a single-unified Input Method, a-la ibus on Linux, language prefs on Win and Mac.

Right now, on Haiku we have a Keymap switcher to switch among different keyboard layouts, and then the CJK input method separated.

I understand that CJK can’t merge with keymap switcher, so, would it be possible to bring ibus or create a single input method? Also I understand this is a “big” project to deal with.

Regards,
RR


#2

You don’t need ibus or whatever, Input Methods are first-class citizens in Haiku, just like they were in BeOS, and there are many already available, and you can switch between them on the fly (maybe it’d need better documentation). It’s just Keymap switcher which should be integrated maybe better. But event here, you might want to change the keymap layout even when using an input method.


#3

Good day @mmu_man,

Maybe it needs to be documented better:

screenshot1

As far as I know, and as you can see from the screenshot, I can change from Latin (spanish-english-galician-french-portuguese) to Russian (cirillic яверты) without issues using Keymap switcher. Also thanks to having a яверты keymap. Only for certain portuguese stuff I add the portuguese keymap too.

The issue iappears when using Chinese, as Chinese input method is part of the BeCJK package. Can be seen in the Deskbar, the small keyboard icon, and from what I know, is nowhere related to keymap nor keymap switcher. There is also no option to use a chinese keymap that changes to 汉字 input when rotating between input methods, as there is no “Chinese keymap layout”. Actually, there is no need for a chinese keymap to input 汉字 as PinYin (uses latin characters), as any latin keymap can be used. I don’t really know how this works in “Cirillic” countries, though I presume it should be the same.

Besides, in the Deskbar there are 2 indicators, one for the keymap switcher, marking “Sp” in the screenshot, and the CJK indicator (the small keyboard beside Sp).

Of course I rather have a single indicator, that rotates among the languages I have set. Though I admit that on Haiku, I’m still newbie, so I might have missed something related to input methods, as well as many other issues.

Thanks for your reply.
Regards,
RR


#4

Yes, we need better integration of all of these into a single preference panel. We are starting with the builtin ones (mouse, touchpad, keyboard, keymap), will continue with PadBlocker, and then with the keymapswitcher and the input methods.


#5

That’s because Keymap Switcher is an external application while the input method switcher is native to input_server and way older, and they don’t cooperate. As said it needs more documentation and integration. Feel free to help :slight_smile: