[Bug]: CJK Japanese input resets to Chinese after switching apps (physical keyboard)
Los mantenedores suelen responder en 1 día
@LeanBitLab ya está trabajando en esto.
Desde el 15/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Kotlin
- Estrellas
- 1k
- Forks
- 59
- Merge medio
- 5 h 44 min
- PR fusionados (30 d)
- 59
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LeanBitLab/LeanType
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
LeanBitLab/LeanType#864 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
LeanBitLab/LeanType#861 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
LeanBitLab/LeanType#853 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
LeanBitLab/LeanType#852 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
NotesAbiertodocumentation
Dificultad 3/5 1-3 horas Aptitud para principiantes 15/100
LeanBitLab/LeanType#804 ·
Los mantenedores suelen responder en 1 día
Todos los issues de LeanBitLab/LeanType
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
PixelPlayerHQ/PixelPlayerOSS#249 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
streetcomplete/StreetComplete#7395 ·
Los mantenedores suelen responder en 1 día
-
Replace the deprecated `RubySdkType.getAllValidRubySdks()` call in `MiseRubyProjectSdkSetup`Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
134130/intellij-mise#552 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
wasi-master/wmkeyboard#1443 ·