fix(common/core/web): OSK state-key management 🍒#5494
Conversation
Co-authored-by: Marc Durdin <marc@durdin.net>
|
I have built this on my dev machine and confirmed that the changes were 🍒'd safely. |
Yep, that caveat is noted in the original PR's description. Known issue, but really tricky to perfect.
Oh. Yeah, that'd do it. If you could refrain from that... or simply click SHIFT off when it's activated from that exact behavior before continuing, that would be great. That was the source of the problem; it's a known limitation. So... while this particular test wasn't carried out exactly as expected... it did behave as expected given the usage pattern you described in your comments. So... we're probably fine, unless someone wants a more precise retest of this specific test sequence. |
The same behavior is experienced on iii and iv when testing after emptying the cache. |
Well...
If you did that (the "clicking away") again, of course you experienced the same behavior. That "clicking away" is why the problem's arising. |





A 🍒-pick of #5456.
This fixes issues with the caps and numlock state management, mostly for the desktop OSK. There are some core-internal effects though, especially in regard to complications with layer management for mnemonic keyboards' touch OSKs.
The 🍒-pick process was a bit complicated this time because some of the affected code blocks were in different files in 14.0 than they currently are in 15.0. Made sure to inspect the resulting changeset and compare the results directly.
User Testing
IF we want them, we can just use the same set of tests that was used for #5456.
And, well, knowing the way things usually go... yeah, @keymanapp/testers. (But prioritize #5491 first!)
Test suite 1:
desktopInstructions & Tests
Using the "Test unminified KeymanWeb" test page:
TEST.STD.HARDWARE:
Test sequence
Akey.ashould result with no other effects.Akey.TEST.STD.MIXED
Test sequence
Akey.ashould result with no other effects.Akey.ashould result and the OSK's CAPS LOCK key should lose its highlighting.Akey.ashould result with no other effects.Akey.ashould result and the OSK's CAPS LOCK key should regain its highlighting.TEST.MNEMONIC.HARDWARE:
Test sequence
sil_philippineskeyboard and select it.Akey.Ashould result with no other effects.Akey.ashould result with no other effects.TEST.MNEMONIC.MIXED
Test sequence
sil_philippineskeyboard and select it.Akey.Ashould result with no other effects.Akey.ashould result and the OSK's CAPS LOCK key should lose its highlighting.Akey.ashould result with no other effects.Akey.Ashould result and the OSK's CAPS LOCK key should regain its highlighting.Test suite 2:
mobileInstructions & Tests
Using the "Test unminified KeymanWeb" test page:
khmer_angkorkeyboard, swap back and forth between the 'default' and the 'numeric' layers.