Closed sgschantz closed 1 month ago
Test specification and instructions
I tested this issue with the attached "Keyman 18.0.126-alpha-local" build on the macOS Sonoma 14.5 and Big Sur 11.0.1. I am sharing my observation.
Installed "Keyman 18.0.126-alpha-local" build on the macOS Big Sur 11.0.1. I had confirmation from the developer to test this PR in the Big Sur because I did not have the macOS Ventura. Installed the Khmer Angkor keyboard
TEST_OSK_BASE_LAYER (Passed):
TEST_OSK_SHIFT_LAYER (Passed):
TEST_OSK_ALT_LAYER (Passed):
TEST_OSK_ALT_SHIFT_LAYER (Passed):
Installed "Keyman 18.0.126-alpha-local" build on the macOS Sonoma 14.5. Installed the Khmer Angkor keyboard.
TEST_OSK_BASE_LAYER (Passed):
TEST_OSK_SHIFT_LAYER (Passed):
TEST_OSK_ALT_LAYER (Passed):
TEST_OSK_ALT_SHIFT_LAYER (Passed):
One more, holding Option+Shift on the hardware keyboard shows either Alt or Shift layer, not Alt+Shift layer (e.g. test on Khmer Angkor). It seems to work correctly when clicking the keys on the OSK
Code changes look good.
I had a test of the OSK on my mac, and a few things I think should happen (some of which may be addressed in #12565?):
- Pressing any modifier key on the hardware keyboard should reset all the OSK-selected modifier keys. This is the behaviour we settled on in Keyman for Windows, and it seems to be the most reliable option. (Testing right now, I am not sure if that is happening on Windows?)
- Closing the OSK should reset the modifier state to default
- The modifier state on the OSK should affect the hardware keys typed. Right now they seem completely independent.
I think we should document these and your other suggestion either in an issue or, probably better, as part of a Monday design meeting -- especially if it should be consistent across platforms. I didn't really try to design for these scenarios as I was just focusing on the one issue, and the correct interaction between the OSK and the physical keyboard is not intuitive to me. If we discuss in a group, we may come with some other edge cases that you haven't covered yet.
LGTM
OK, let's follow up on the other issues separately. Will you track them?
created #12582 and #12584 to track these
Changes in this pull request will be available for download in Keyman version 18.0.131-alpha
With different layers active in the OSK, clicking on a key should produce the character represented on the key to be output.
Fixes #6578
User Testing
SUITE_OSK_MODIFIERS: test varying outputs for different modifiers
GROUP_VENTURA: test with macOS Ventura
GROUP_SONOMA: test with macOS Sonoma
TEST_OSK_BASE_LAYER: Khmer Angkor uses only RALT rules
ស
ស
សៃ
-
᧭