[Bug]: CJK Japanese input resets to Chinese after switching apps (physical keyboard)
メンテナーはふだん 1 日以内に返信
@LeanBitLab がすでに取り組んでいます。
2026年11月15日 から。
評価
この issue はまだ評価されていません。
説明
Preliminary Verification
- I have searched existing open and closed issues and discussions to verify this bug is not already reported.
- I have tested or verified this behavior on the latest release or beta version.
- I have tried clearing app cache or testing with default settings.
- If the issue is related to an external plugin (e.g. Voice Plugin, OCR, CJK, Handwriting, Offline AI), I have verified that I am using the latest release of that plugin.
Description of the Bug
Device / Setup
- Device: Unihertz Titan 2 Elite
- Input: Built-in physical QWERTY keyboard
- Keyboard: LeanType (version: to be filled in)
- CJK Plugin: v1.0.2
- Languages: Japanese (QWERTY) enabled
Bug Description
Japanese Romaji-to-Kana/Kanji conversion works correctly immediately after reinstalling the CJK plugin or using LeanType's Restart keyboard option.
However, after switching to another app, Japanese conversion stops working and the CJK engine appears to default to Chinese Pinyin instead.
Additionally, pressing Ctrl + Space on the physical keyboard causes the LeanType toolbar to appear.
Steps to Reproduce
- Enable Japanese QWERTY and install the CJK plugin.
- Restart LeanType via About → Restart keyboard.
- Type
nihongoand observe correct Japanese conversion (日本語). - Switch to another app.
- Try typing Japanese again.
- The suggestions now appear in Chinese instead of Japanese.
- Press Ctrl + Space to switch languages. The toolbar also appears unexpectedly.
Expected Behavior
- Japanese input should remain active across app switches.
- Romaji-to-Kana/Kanji conversion should continue working.
- Ctrl + Space should switch languages without unexpectedly showing the toolbar.
Actual Behavior
- Japanese conversion works temporarily after restarting LeanType or reinstalling the plugin.
- Switching apps causes Japanese conversion to stop working and Chinese Pinyin suggestions to appear.
- Ctrl + Space causes the toolbar to appear.
Additional Information
The Japanese dictionary appears to be working correctly because Japanese conversion works immediately after restarting the keyboard. This suggests a possible issue with CJK engine initialization or language-state persistence across input sessions.
Reinstalling the plugin is not a permanent fix.
Steps to Reproduce
see above
Expected Behavior
see above
Logs / Crash Report
No response
Build Flavor
Standard (with local AI, voice, and OCR support)
App Version
latest
Plugin Version (if applicable)
No response
Device & Android Version
see aboe
Target App (if applicable)
No response
Screenshots or Screen Recordings
No response
- 主要言語
- Kotlin
- スター
- 1k
- フォーク
- 59
- 平均マージ
- 5時間 44分
- マージ済み PR(30日)
- 59
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LeanBitLab/LeanType のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
LeanBitLab/LeanType#864 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
LeanBitLab/LeanType#861 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
LeanBitLab/LeanType#853 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
LeanBitLab/LeanType#852 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Notesオープンdocumentation
難易度 3/5 1〜3時間 初心者へのやさしさ 15/100
LeanBitLab/LeanType#804 ·
メンテナーはふだん 1 日以内に返信
LeanBitLab/LeanType の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
PixelPlayerHQ/PixelPlayerOSS#249 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
streetcomplete/StreetComplete#7395 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
134130/intellij-mise#552 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
wasi-master/wmkeyboard#1443 ·