Closed ermshiperete closed 1 week ago
Test specification and instructions
On the punctuation key:
Each subkey is displaying with the same width as what's used for the base key, though with thinner padding between each.
An alternative approach would be to define the 'standard' width as ~ 1/10th the keyboard width, since most of our keyboards are ten keys wide. Just noting the difference here, as it has to do with default width. I suppose there is a reason we never did that in the first place.
For "Many Keys":
Yup, that would indeed be "many, many" keys. They all appear to be properly functional and responsive to input; glad to see that part worked out well.
Just thought the screenshot might help.
TEST_MONSTER (PASSED): Tested using the KeymanWeb Test Home page on Windows 10 OS and here is my observation: 1. Long pressed on 1. Verified that the submenu is within the limits of the displayed OSK. 2. Verified that the "Monster" subkey can be pressed.
TEST_MANYKEYS (PASSED): 1. Long pressed on 2. Verified that the width of the submenu is within the limits of the displayed OSK. Verified that we can press any key of this submenu.
TEST_TWOROWS (PASSED): 1. Long pressed on . 2. Verified that the submenu is within the limits of the displayed OSK and displayed in two rows. Also, verified that we can press a key of this submenu.
Changes in this pull request will be available for download in Keyman version 18.0.23-alpha
The previous code didn't check that the keys we put in a subkey menu actually fit within the width of the osk. Additionally the subkey menu was limited to two rows. This change checks the total width of the keys in a row. If it gets too wide we continue in the next row.
Also update the
diacritic_rota
test keyboard by adding two longpress menus:Already existing is the longpress on .. Since the base keys are wider they won't fit in one row. Keyman is expected to display them in two rows.
Fixes #10126.
User Testing
All the tests below can be done with the "Test inline OSK (# 5665)" test page from the KeymanWeb Test Home page ("View Keymanweb website-oriented manual test pages." link).
On the "Test inline OSK (# 5665)" test page select the "English - Diacritic 10-key Rota" keyboard and display the iOS OSK by clicking on the the "setOSK(iOS)" button.
Tests
TEST_MONSTER:
TEST_MANYKEYS:
TEST_TWOROWS: