fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
24.86k stars 1.38k forks source link

Android app does not show Chinese (default) keyboard #2418

Open naowang opened 3 years ago

naowang commented 3 years ago

build the example for android found that can't type unicode charactor to entry. at android the entry can change the input method. only have ascii charactor keyboard.

andydotxyz commented 3 years ago

Please complete the original bug report template to include information software and hardware versions. There are so many different android keyboards and OS you will need to be more specific.

naowang commented 3 years ago

plaform is android OS 10. phone is huawei p30. the keyboard is the huawei security keyboard. I didn't know why. the keyboard can not change to other keyboard.

andydotxyz commented 3 years ago

Can you please provide some replication steps about how we can get this keyboard and the sort of key that is not working?

naowang commented 3 years ago

the keyboard is part of system. have the phone have the keyboard. when click the entry the keyboard popup. maybe the entry attibute triggered the security keyboard.

andydotxyz commented 3 years ago

Can you please include a screenshot of this secure keyboard. And one of the keyboard you would expect?

naowang commented 3 years ago

here can not reply image. I have replied by the email. can you receive it?

andydotxyz commented 3 years ago

Images can be attached by tapping "Attach files by..." below the input box

naowang commented 3 years ago

Screenshot_20210901_004857_my domain appname1 this is the special keyboard.

andydotxyz commented 3 years ago

To an English speaker this looks like the normal keyboard. What were you expecting to see?

naowang commented 3 years ago

the system other edit default have right default chinese input keyboard. but this entry have wrong default input keyboard that can't input chinese character.

andydotxyz commented 3 years ago

Ah now I understand - I have updated the title accordingly.

andydotxyz commented 3 years ago

Can you please provide more information about how to replicate? We don't have any expert liguists here, but using Telugu/Indian as an example the keyboard appears as expected:

Screenshot 2021-09-01 at 09 20 17
andydotxyz commented 3 years ago

this is the special keyboard.

Under what circumstances would you expect this special keyboard to appear on your device?

naowang commented 3 years ago

The huawei phone have one option when input password show the security keyboard. I closed the option. everything is right. Maybe fyne entry was recognised as password entry by system. Screenshot_20210901_162752_com android settings Screenshot_20210901_163538_my domain appname1

andydotxyz commented 3 years ago

Ah, this is starting to make sense. We request the "visible password" keyboard because Samsung phones ignore the "don't show autocomplete" hint. Perhaps we need to remove that workaround in the hope that they fix that bug?

naowang commented 3 years ago

remove it is right. thanks

andydotxyz commented 3 years ago

I think we have this resolved in PR #2447, please can you let me know if it works @naowang ?

naowang commented 3 years ago

the developing edition display nothing. but I is click the entry area. the popup keyboard is not right. Screenshot_20210908_221443_test app demo1

andydotxyz commented 3 years ago

It seems there is an issue with light theme that has crept in. If you set your phone to dark mode, or activate it in the code you can test this fix, we need to get the theme resolved in another change. Sorry for the confusion

andydotxyz commented 3 years ago

The theme fix is now merged into the PR so it should be working OK again. My apologies for the problems, should not happen this late in testing!