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
IME mode changed at startup in Google Japanese Input #14407
Comments
|
Hmm. linking threads: |
|
Same issue is reported at Gborad Help. Expert says that Microsft IME has one state "半角英数字/直接入力" (direct input) but Google Japanese Input and Legacy Microsoft IME has "半角英数" (English input) and "直接入力" (direct input) as separated state.
I think Windows Terminal incorrectly specifies input method at startup. |
|
I have same issue, and v1.14.186 reproduces the issue but v1.13.1143 doesn't. |
|
Marking this as a feature. We've had reports in the past of users wanting this kind of behavior. Sounds like the right path forward is to make this a configurable setting. |
|
@carlos-zamora If there are some usecases that users want to switch to that mode, I think it is the right way to make it configurable too. |
|
The cause appears to be #13028. In this PR, it is declared that
and
However, as this issue shows, this feature can have extremely unpleasant side effects depending on the environment. As @carlos-zamora suggests, I strongly agree that there is a need to add settings that allow users to easily switch this feature ON/OFF. |
|
Original issue #12731 says:
So the author expected that users could immediately start typing commands at startup, but this is hampered by this issue. |
I add two keyboard layout, one is english, another one is chinese. If I need to input english / chinese, I use |
|
I now think this can be considered as Google IME's issue. In Microsoft IME, CoreTextInputScope::AlphanumericHalfWidth is mapped to Direct Input mode, so it is okay for us. But in Google IME or Mozc, the scope is mapped to Alphanumeric mode with IME on, causing this issue. It is documented in Mozc repository: Quote:
As described above, Google IME and Mozc consider IME should be turned on in text inputs with AlphanumericHalfWidth scope. I am not familier with UWP, but isn't there a way to turn IME off without depending on the InputScope? |
Mozc for Windows has been mapping IS_ALPHANUMERIC_HALFWIDTH InputScope to "Halfwidth Alphanumeric Mode (IME On)" to be compatible with Microsoft IME 2012. However, recent versions of MS-IME map it to "Direct Mode", probably to make it more consistent with their default settings of "Don't use direct input mode" [1]. This discrepancy can result in unexpected user experiences when app developers assume IS_ALPHANUMERIC_HALFWIDTH is a way to turn off IME based on recent MS-IME's behavior [2]. Anyway, Mozc's design philosophy has been to emulate MS-IME's behavior whenever possible. Let's just update InputScope mapping to be compatible with the latest version of MS-IME. Closes #818. [1]: #817 [2]: microsoft/terminal#14407 PiperOrigin-RevId: 573458610
[IME mode changed at startup in Google Japanese Input · microsoft/terminal](microsoft/terminal#14407) という問題が存在しており、 [ターミナルとIMEについてのログ · cumet04/dotfiles](cumet04/dotfiles#17) を参考にひらがな切り替えのショートカットを追加することで誤魔化しを考える。
Mozc for Windows has been mapping IS_ALPHANUMERIC_HALFWIDTH InputScope to "Halfwidth Alphanumeric Mode (IME On)" to be compatible with Microsoft IME 2012. However, recent versions of MS-IME map it to "Direct Mode", probably to make it more consistent with their default settings of "Don't use direct input mode" [1]. This discrepancy can result in unexpected user experiences when app developers assume IS_ALPHANUMERIC_HALFWIDTH is a way to turn off IME based on recent MS-IME's behavior [2]. Anyway, Mozc's design philosophy has been to emulate MS-IME's behavior whenever possible. Let's just update InputScope mapping to be compatible with the latest version of MS-IME. Closes google#818. [1]: google#817 [2]: microsoft/terminal#14407 PiperOrigin-RevId: 573458610

Windows Terminal version
1.15.2874.0
Windows build number
10.0.19045.0
Other Software
Google 日本語入力 (2.28.4650.0)
Steps to reproduce
Start Windows Terminal with Japanese IME.
Expected Behavior
Google IME selects
直接入力(Direct input) mode.MS IME selects
半角英数字/直接入力(Direct input) mode.Actual Behavior
Google IME selects
半角英数(English input with IME) mode.MS IME selects
半角英数字/直接入力(Direct input) mode.The text was updated successfully, but these errors were encountered: