fix(web): heterogenous longpress roaming 🐵#10172
Conversation
User Test ResultsTest specification and instructions
Test Artifacts
|
Test Results
|
common/web/gesture-recognizer/src/engine/headless/touchpointCoordinator.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Marc Durdin <marc@durdin.net>
Fixes #10170.
Fixes #10171.
Longpress validation now occurs when the longpress would trigger, rather than on the initial key-down. If the timer elapses on a key that doesn't support longpresses and roaming mode is disabled, the gesture-engine will enter a state that restores longpress processing when the base key changes - including a restart of the longpress timer.
User Testing
TEST_ROAM_FROM_SUBKEYLESS: Using the "Predictive Text: Robust Testing" KeymanWeb test page...
Select the "SIL EuroLatin" keyboard (under English).
Swap to the numeric layer.
Press and hold the
&key for at least a second.Move your finger over the
%key and hold.Verify that after a moment, a subkey menu appears with these options:
‰,‱In case of bad GitHub rendering:

TEST_ROAM_TO_SUBKEYLESS: Using the "Predictive Text: Robust Testing" KeymanWeb test page...
%key, then quickly move to the&key for at least a second.%key and hold.‰,‱TEST_BIG_ROAM: Using the "Predictive Text: Robust Testing" KeymanWeb test page...
1key, then quickly move to the$key for at least a second./key./key with this option:\