Closed bharanidharanj closed 7 months ago
See also: #8007. It's the same sort of flicker seen there.
After fixing #8534 and synchronizing all pending entries in the JS queue as they come in, I did an analysis of all the re-layout calls for the keyboard for three cases. I'll log the entries and relevant call-stack data below:
First setLayoutParams call:
loadKeyboard()
call yet
Second:
But way, way down the line as part of Android-internal stuff.
Third:
Fourth:
Main app screen finally appears, Get Started shows.
Fifth:
currentBanner
.registerLexicalModel
, though.setKeyboard
call, but synchronous.Sixth:
(System keyboard) is active; the actual desired keyboard hasn't shown yet.
currentBanner
just before triggering the Android-side re-layout.android-host.js
, onStateChange
, a handler that detects when the prediction mode changes within Web.There is no seventh.
sil_euro_latin -> sil_ipa
First:
And that's it!
sil_ipa -> sil_euro_latin
First:
Second:
Note: no device rotations were performed during this investigation; I imagine that's covered by onConfigurationChanged
, but am presently not 100% sure about that.
Describe the bug
I noticed that the keyboard background is blinking every time whenever I click the keyboard info icon in the Keyboard Picker menu.
Reproduce the bug
I have attached the video file for reference.
https://github.com/keymanapp/keyman/assets/19683143/e39e08ce-cf2e-4d12-8f3a-0a688db7448f
Expected behavior
Clicking the Info icon in Keyboard picker menu should not affect the Keyman keyboard background.
Related issues
8007
Keyman apps
Keyman version
17.0.113-alpah build
Operating system
Android 5.0, 9.0, 12.0
Device
Redmi Note 8 Pro, API 31 emulator
Target application
No response
Browser
No response
Keyboard name
No response
Keyboard version
No response
Language name
No response
Additional context
No response