keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
394 stars 110 forks source link

bug(linux): Installed keyboard with language tag `mul` specified doesn't show up in available keyboards #8620

Closed ermshiperete closed 1 year ago

ermshiperete commented 1 year ago

I created a keyboard with BCP47 tag mul to indicate that it supports multiple languages. After installing that with km-package-install -f itrans_devanagari_sanskrit_vedic.kmp -l mul I noticed that it doesn't show up in the keyboards dropdown. Looking in the system keyboard settings shows that it gets installed with mul-Zyyy. Manually changing that in dconf Editor to mul will make it show up.

rik-shaw commented 1 year ago

sorry I am a bit confused. I just modified my keyboard to list mul as a "supported language" in the .kps and the .keyboard_info files (and listed it as the first language so if no bcp47 identifier was used it would show "Multiple languages" in the ibus menu. I think this bug is about being able to install using the mul tag even if mul isn't defined in the keyman keyboard files?

Here's my newest SIL EL - Ethiopian Latin keyboard for reference: https://keyman.com/keyboards/sil_el_ethiopian_latin

UPDATE: OK I followed your steps exactly, yes by using -l mul the error comes that it can't find engine mul-Zyyy. So "bug confirmed" :-)

rik-shaw commented 1 year ago

In addition, attempting to install using --bcp47 mul also results in the same error that mul-Zyyy can't be found.

mcdurdin commented 1 year ago

Yay, BCP-47 comes back to bite us again 😢 This may mean another update to your keyboard, @rik-shaw, as it will take time for a patch to Keyman to filter through.

rik-shaw commented 1 year ago

Yay, BCP-47 comes back to bite us again cry This may mean another update to your keyboard, @rik-shaw, as it will take time for a patch to Keyman to filter through.

No problems here, since I added mul as the first "supported language" it means when not specifying a language it installs as "Multiple languages" so I am happy enough for now :-)