Closed bharanidharanj closed 8 months ago
Interesting. This issue does not appear when using Chrome remote-device emulation from a desktop device... or at least, "not on my machine". Guess I should spin up Android Studio and see if that makes a difference, seeing how the reported error above was taken from its emulator.
... there is a small chance that the fact I had a keyboard automatically specified could have made the difference, but I'd like to check the Android Studio path first.
Yep, it's happening in Android Studio, but not plain Chrome remote-device emulation... unless I edit the URL to have a cookie pointing at a previously-set keyboard. At that point, it's happy again.
I can emulate the issue in desktop remote-device emulation if I nuke all cookies and clear the cache. (To be explicit: I had to do a full clear on the cookies to do so.)
The crux of the issue: there's no keyboard set as active when KeymanWeb is being loaded in this circumstance.
... right, because keymanweb.com uses a cached set of keyboards, bypassing the standard addKeyboards
API - as noted during https://github.com/keymanapp/keyman/pull/9304.
Default keyboard selection is handled through Promise
s on the addKeyboards
API in 17.0, so the same underlying issue also causes this one.
Meanwhile, if there's an existing cookie, that has a built-in mechanism to trigger load of the previously-loaded keyboard - hence why I didn't see the issue at first; I had such a cookie.
Here is what I did:
Here, I observed that there was no activity in the text area, and a keyboard did not appear on the screen.
I have attached the Screenshot for reference.