DescriptionChange VKEY_MENU to VKEY_LMENU in interactive ui tests key sequence sending.
On windows depending on system/keyboard setting right alt (alt gr) can be
seen as alt+ctrl. This is also true for sending VKEY_MENU via SendInput,
probably because it is treated as any alt key. To avoid intorducing
unwanted ctrl key in sequence use VKEY_LMENU which will only add alt key
without a risk of adding ctrl key regardless of system setup.
The change fixes CommandsApiTest.DontOverwriteSystemShortcuts test timout.
Test expected alt+shift+f, but what was received was ctrl+alt+shift+f.
BUG=409567
Committed: https://crrev.com/6047562c6cd816727b7a78a0def63cc30f0999a5
Cr-Commit-Position: refs/heads/master@{#293112}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|