Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "Set input mode to X" commands on Linux #128

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 6 comments
Closed

Support "Set input mode to X" commands on Linux #128

GoogleCodeExporter opened this issue Apr 22, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

Currently "InputModeX" commands ("InputModeSwitchKanaType", 
"InputModeHiragana", etc...) have been enabled only on Windows as follows.
http://code.google.com/p/mozc/source/browse/trunk/src/session/internal/keymap.cc
?r=93#581
http://code.google.com/p/mozc/source/browse/trunk/src/session/internal/keymap.cc
?r=93#691
http://code.google.com/p/mozc/source/browse/trunk/src/session/internal/keymap.cc
?r=93#780

Although we have intentionally disabled these features on Mac OS X due to some 
UX reason, current ibus-mozc seems to be ready to support these commands.

FYI, this issue was originally reported in Issue 114 and 
https://bugzilla.redhat.com/show_bug.cgi?id=771799.
I made this thread because this limitation on Linux has been implemented in the 
converter engine itself and not related to the language-bar nor ibus-mozc.

What steps will reproduce the problem?
1. Build Mozc on Linux.
2. Create a custom keymap with any combination of following commands and input 
states.
- On Precomposition (入力文字なし)
-- "InputModeSwitchKanaType" (次のかな文字種に入力切替)
- On Precomposition (入力文字なし) or Composition (変換前入力中) or 
Conversion (変換中)
-- "InputModeHiragana" (ひらがなに入力切替)
-- "InputModeFullKatakana" (全角カタカナに入力切替)
-- "InputModeHalfKatakana" (半角カタカナに入力切替)
-- "InputModeFullAlphanumeric" (全角英数に入力切替)
-- "InputModeHalfAlphanumeric" (半角英数に入力切替)
3. Type the shortcut key on such input state.

What is the expected output? What do you see instead?
Functional.

Please use labels and text to provide additional information.
Nothing happens.

Original issue reported on code.google.com by yukawa@google.com on 28 Feb 2012 at 7:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant